Where is the table_cache in MariaDB?
You are viewing an old version of this article. View
the current version here.
All versions of MariaDB are based on MySQL 5.1 and greater, thus the table_cache
option is deprecated in favor of table_open_cache
. This is also documented at: mysqld Options (full list).
For further reading, please refer to the MySQL manual: How MySQL Opens and Closes Tables.
Examples of use cases:
MariaDB [(none)]> show global status like 'opened_tables'; +---------------+--------+ | Variable_name | Value | +---------------+--------+ | Opened_tables | 354858 | +---------------+--------+ 1 row in set (0.00 sec) MariaDB [(none)]> select @@table_open_cache; +--------------------+ | @@table_open_cache | +--------------------+ | 400 | +--------------------+ 1 row in set (0.00 sec)
Comments
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.