From: Bill Marrs [mailto:[EMAIL PROTECTED]

> I've found a performance issue with a series of mysql queries 
> that I make to generate a web page.  But, when I go to 
> investigate it, reloading the page a few times, I find the 
> performance of the pages within a couple tries becomes very 
> fast.


It sounds like query caching is working against you.

There are a variety of ways to get around it. While it'll be a PITA, you may want to 
have you script call `RESET QUERY CACHE` at the begining, and then include 
`SQL_NO_CACHE` in your SELECT statement(s).

More info here:
http://www.mysql.com/doc/en/Query_Cache_Status_and_Maintenance.html

And here:
http://www.mysql.com/doc/en/SELECT.html

HTH!


-- 
Mike Johnson
Web Developer
Smarter Living, Inc.
phone (617) 886-5539

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to