Re: Optimizing table_cache - Open files?
Hi,
As I tried to explain, I think that (Connections * N) is the absolute minimum figure you need for the table cache. But as I also said, I think it's unlikely that you will be having 100 simultaneous connection to mysqld, Have a look at the status variable Max_used_connections. My max_connections is 100, but my Max_used_connections is only 8.
I think that for an upper bound on the table cache work out max_connections*[tables in database], which for my case is ~10,000. I currently have my table_cache set at 1024, and in a twenty four hour period the opened tables has not increased.
I guess you need to think about the maximum number of connection to your database and whether those connections are all regularly using all of the tables in the database.
Subject
Views
Written By
Posted
10198
August 04, 2011 05:08AM
3623
August 04, 2011 09:04AM
2122
August 05, 2011 02:28AM
Re: Optimizing table_cache - Open files?
1931
August 05, 2011 07:31AM
2074
August 05, 2011 11:17PM
2273
August 05, 2011 11:37PM
2217
August 06, 2011 07:15AM
1992
August 06, 2011 08:13AM
1948
August 06, 2011 09:02AM
2154
August 10, 2011 08:04PM
1527
August 23, 2011 11:41PM
1853
August 24, 2011 09:21PM
2361
August 25, 2011 01:00AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.