Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
XP is just a number
 
PerlMonks  

Re^2: Does DBI handle table alias?

by zebedee (Pilgrim)
on Oct 07, 2004 at 21:12 UTC ( [id://397495]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.