<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Table_cache on FromDual GmbH</title><link>https://www.fromdual.com/tags/table_cache/</link><description>Recent content in Table_cache on FromDual GmbH</description><generator>Hugo</generator><language>en-GB</language><managingEditor>oli.sennhauser@fromdual.com (Oli Sennhauser)</managingEditor><webMaster>oli.sennhauser@fromdual.com (Oli Sennhauser)</webMaster><copyright>© FromDual GmbH</copyright><lastBuildDate>Fri, 19 Mar 2021 16:21:24 +0000</lastBuildDate><atom:link href="https://www.fromdual.com/tags/table_cache/index.xml" rel="self" type="application/rss+xml"/><item><title>Table open cache too small</title><link>https://www.fromdual.com/blog/table-open-cache-too-small/</link><pubDate>Wed, 15 Jul 2015 06:04:36 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/table-open-cache-too-small/</guid><description>&lt;p&gt;The Table Open Cache (&lt;code&gt;table_open_cache&lt;/code&gt; or old name &lt;code&gt;table_cache&lt;/code&gt;) is a cache to store file handles for all threads. The actual value of cache entries can be seen with the global status of open tables (&lt;code&gt;Open_tables&lt;/code&gt;).&lt;br&gt;
Increasing &lt;code&gt;table_open_cache&lt;/code&gt; increases the number of file descriptors (&lt;code&gt;open_files_limit&lt;/code&gt;) that MySQL requires.&lt;br&gt;
You can check whether you need to increase the Table Open Cache by checking &lt;code&gt;Open_tables&lt;/code&gt; and &lt;code&gt;Opened_tables&lt;/code&gt;. If the value of &lt;code&gt;Opened_tables&lt;/code&gt; is large and you do not use &lt;code&gt;FLUSH TABLES&lt;/code&gt; often (which just forces all tables to be closed and reopened), then you should increase the value of the &lt;code&gt;table_open_cache&lt;/code&gt; variable.&lt;/p&gt;</description></item></channel></rss>