Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^5: Can DBI modify queries on the fly?

by jfroebe (Vicar)
on Feb 18, 2009 at 03:52 UTC ( #744636=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Can DBI modify queries on the fly?
in thread Can DBI modify queries on the fly?

Instead of writing to the DBMS errorlog, how about writing to a table? It would probably have a smaller performance impact. It would also allow you to determine which queries are most often used.. allowing you to focus your energy on the worst.

Which DBMS are you using? There might be tools that would identify the slow queries that you could use in conjunction with your code line => query.

Jason L. Froebe

Blog, Tech Blog


Comment on Re^5: Can DBI modify queries on the fly?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2014-07-12 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (242 votes), past polls