Monitor database queries?
Posted 01 October 2006 - 02:12 AM
I'm looking for a way to monitor queries to my databases. I'd like to optimize my code to minimize the load to my databases, but I currently have no way of telling when I'm making improvements. I'm on a managed server, so don't have root access to error logs etc.
Is there a simple way to do this? I considered making a function called query_count() for example, which would replace all of my mysql_query calls and track each query, but I hate to load the databases down with even more queries just to find out what the traffic is.
Any suggestions would be greatly appreciated.
Posted 01 October 2006 - 02:11 PM
Posted 01 October 2006 - 03:53 PM
Fenway, what's the best way to insert "timing breakpoints"
Thanks for your help!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users