Re: PEAR:DB - How to count the queries times?

From: Date: Tue, 13 Apr 2004 07:47:39 +0000
Subject: Re: PEAR:DB - How to count the queries times?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11805@lists.php.net to get a copy of this message
深空 wrote: > Hello, Everyone~~ > > I wan't to count how many DB queries in one request , how can I do? > And How can I get all queries' strings which have run? This is somewhat non trivial to do in DB. You will either have to hack the DB package itself or write a wrapper. MDB and MDB2 both have a debugging mode. While both are similar in the API they will take some effort to migrate to. This article might help to understand the differences of DB and MDB/MDB2: http://www.php-mag.net/itr/online_artikel/show.php3?id=283&nodeid=114 regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

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