Information Schema QUERY_CACHE_TABLES Table

MariaDB starting with 10.1.x

The QUERY_CACHE_TABLES table will be introduced in a future version of MariaDB. See MDEV-4682


The QUERY_CACHE_TABLES table will be introduced as part of a future change to the QUERY_CACHE_INFO plugin, and shows all tables inside the query cache and how many queries have been cached for each.

The table is not a standard Information Schema table, and is a MariaDB extension.

It contains the following columns:

TABLE_SCHEMATable database schema
TABLE_NAMETable name
TABLE_HASHEDInternal use (0/1)
TABLE_TYPEInternal use, possible values: NON_TRANSACT, NO_CACHE, ASK_TRANSACT, TRANSACT, "UNKNOWN %u" where %u is internal value of query_cache_table_entry->table_type)
QUERIES_IN_CACHENumber of queries in query cache using this table


Comments loading...
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.