MySQL Forums
Forum List  »  Performance

Re: healthy ratio of Qcache_hits to Qcache_inserts?
Posted by: Jeff Ambrosino
Date: November 17, 2005 03:51PM

Ok, I think I answered my own (original) question... thanks to Jay Pipes for the hint that 1:1 is a low ratio between Qcache_hits and Qcache_inserts.

By putting SQL_NO_CACHE in the SELECT's that I KNOW won't get 'hit' on subsequent queries, I've reduced Qcache_inserts to virtually zero while keeping Qcache_hits very very high.... my ratio is now infinitely large. Presumably there's also a (slight?) performance gain by explicitly telling MySQL to NOT bother caching a SELECT result that you know will not be reusable.

thanks
JB

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: healthy ratio of Qcache_hits to Qcache_inserts?
3214
November 17, 2005 03:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.