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
9537
August 04, 2011 05:08AM
3493
August 04, 2011 09:04AM
2009
August 05, 2011 02:28AM
Re: Optimizing table_cache - Open files?
1848
August 05, 2011 07:31AM
1983
August 05, 2011 11:17PM
2170
August 05, 2011 11:37PM
2095
August 06, 2011 07:15AM
1893
August 06, 2011 08:13AM
1781
August 06, 2011 09:02AM
2058
August 10, 2011 08:04PM
1431
August 23, 2011 11:41PM
1754
August 24, 2011 09:21PM
2251
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.