Where is the table_cache in MariaDB?
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: mariadbd Options.
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)
This page is licensed: CC BY-SA / Gnu FDL
PreviousTools Available for Developing on the MariaDB CodeNextWhy is ORDER BY in a FROM Subquery Ignored?
Last updated
Was this helpful?