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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -