MySQL Forums
Forum List  »  Performance

Re: healthy ratio of Qcache_hits to Qcache_inserts?
Posted by: Jeff Ambrosino
Date: November 17, 2005 11:09AM

This is a web application, and for each user's request (hit), there are essentially two SELECTS:

1) a SELECT to a Session table with a session ID, and the Session record is updated each request -- this is obviously going to have 0% cache hit.
2) a SELECT to a lookup table that contains a key with < 10 values -- this is the one I'm concerned with, as it should have near 100% cache hit rate.

The tricky thing is I don't have an easy way to see which SELECTS are hitting the cache and which aren't. Is there a way to inspect MySQL's query cache to see what's in there and what's getting hit?

thanks
JB

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: healthy ratio of Qcache_hits to Qcache_inserts?
3178
November 17, 2005 11:09AM


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.