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

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?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2022-05-24 12:45 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (82 votes). Check out past polls.