sql - How to list cached queries in MySQL? (Qcache_queries_in_cache) -
show status 'qcache_queries_in_cache' returns:
+-------------------------+----------+ | variable_name | value | +-------------------------+----------+ | qcache_queries_in_cache | 327 | +-------------------------+----------+
how print these 327 queries?
in attempt optimize mysql caching want trying switching "on demand" caching. before want definitive sense of queries being cached or discarded. tried mysql docs, google, , stackoverflow search no luck.
afaik sql queries not stored qcache hash. there no way find queries cached exept execute 1 of query , see changes of value column.
Comments
Post a Comment