Query Cache Information Plugin
This plugin exposes the contents of the query cache via the QUERY_CACHE_INFO table in the Information Schema, aiding in performance analysis.
Installing the Plugin
INSTALL SONAME 'query_cache_info';[mariadb]
...
plugin_load_add = query_cache_infoUninstalling the Plugin
UNINSTALL SONAME 'query_cache_info';Example
SELECT statement_schema, statement_text, result_blocks_count,
result_blocks_size FROM information_schema.query_cache_info;
+------------------+------------------+---------------------+--------------------+
| statement_schema | statement_text | result_blocks_count | result_blocks_size |
+------------------+------------------+---------------------+--------------------+
| test | SELECT * FROM t1 | 1 | 512 |
+------------------+------------------+---------------------+--------------------+Options
query_cache_info
query_cache_infoLast updated
Was this helpful?

