Extending DB to do minor statistics?

From: Date: Sat, 02 Aug 2003 17:21:37 +0000
Subject: Extending DB to do minor statistics?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6953@lists.php.net to get a copy of this message
Hey, I was wondering how I'd go about extending DB to allow for some minor statistics grabbing, eg. being able to get something like "Page generated in x.xx MS, x% php, y% db calls (z queries)". Obviously, I could just increase a counter before and after every query done in my code, but it would be nice to have this in DB (amount of queries per DB connection, how long the total amount of queries for a DB connection took). Ideas? / oscar

« previous php.pear.general (#6953) next »