Re: MDB2 query caching

From: Date: Sat, 10 Jan 2009 05:08:46 +0000
Subject: Re: MDB2 query caching
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29580@lists.php.net to get a copy of this message
On Fri, Jan 9, 2009 at 7:44 PM, Sami Mußbach <mussbach@leuphana.de> wrote: > H, > > I have heard, that if you use prepared statements for SELECT-Querys with > MDB2 at a mysql-database, that the mysql cache is not used. > > That doesn't sound right - unless your query has SELECT SQL_NO_CACHE * FROM foo in it; Or its a query that mysql hasn't seen before; or mysql query caching is turned off; it should always be hitting it. Perhaps have a read of http://dev.mysql.com/doc/refman/5.1/en/query-cache-status-and-maintenance.htmland see if that can help you debug your problem further

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