Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Does DBI handle table alias?

by zebedee (Pilgrim)
on Oct 08, 2004 at 01:12 UTC ( #397495=note: print w/replies, xml ) Need Help??


in reply to Re: Does DBI handle table alias?
in thread Does DBI handle table alias?

I don't know enough about the sorts of requests that might be made against your database, but

1. if using MySQL 4+, have you turned on the query caching? and

2. can you pre-populate or generate any reports off-line? i.e. if you know the reports that most users ask for, can you pre-build them at 1-6 a.m. (or whatever), when it does not matter if each query takes three minutes.

Even running the queries will build the query cache for number 1.

Finding the top 20% of the reports used 80% of the time means you can pre-build those or prime the cache.

It all depends on your data and how dynamic the queries are.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://397495]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2021-09-18 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?