My Oracle Support Banner

MySQL Server Variable: table_open_cache (Formerly Called table_cache) (Doc ID 1322541.1)

Last updated on MAY 30, 2023

Applies to:

MySQL Server - Version 4.0 and later
Information in this document applies to any platform.


Understand the use of table_open_cache and known limitations and problems in which it is involved or which it can solve.


Detailed general guidance for DBAs already familiar with the option who are seeking guidance on how to use it and what problems it can be involved with.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Where is table_open_cache documented?
 What value should I use for table_open_cache?
 What problems can I fix by changing table_open_cache?
 Related options
 Related variables
 Related statements
 What are the known problems with table_open_cache?
 What are the known problems with table_open_cache in old versions?
 What should I do if I suspect a leak of memory?

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.