Il plugin QUERY_CACHE_INFO
MariaDB starting with 5.5.31
Questo plugin è stato introdotto in MariaDB 5.5.31
Il plugin QUERY_CACHE_INFO
permette di visualizzare i contenuti della cache delle query. Crea una tabella nel database INFORMATION_SCHEMA
che mostra tutte le query che si trovano nella cache. Per accedere a questa tabella occorre il privilegio PROCESS
(si veda GRANT).
MariaDB [test]> 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 | +------------------+------------------+---------------------+--------------------+
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.