Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: mod_perl was hosed by a bind variable

by cchampion (Curate)
on Jan 29, 2004 at 23:37 UTC ( #325085=note: print w/ replies, xml ) Need Help??


in reply to mod_perl was hosed by a bind variable

Why don't you show some more code?

I suspect that the reason for your magic efficiency gain could lie in MySQL query cache. If you want to perform a meaningful comparison, you should turn it off in both cases. If you don't, you get a long time for your first run and a very short time for each run after that.

I might be wrong, but try to run your tests in a reverse order, i.e. first the query with a placeholder and then the one without.


Comment on Re: mod_perl was hosed by a bind variable

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2014-07-31 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (253 votes), past polls