Re: MySQL Performance Tuning Help
Posted by:
Rick James
Date: October 05, 2010 07:31PM
Be sure to use GLOBAL, not the default of SESSION:
mysql> SHOW STATUS LIKE 'Opened_tables';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| Opened_tables | 0 |
+---------------+-------+
mysql> SHOW GLOBAL STATUS LIKE 'Opened_tables';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| Opened_tables | 460 |
+---------------+-------+
Then divide that by Uptime to get per-second. Increase the table cache until that quotient is less than 1/sec.
Subject
Views
Written By
Posted
14008
October 02, 2010 12:28AM
3357
October 03, 2010 11:59AM
2414
October 04, 2010 01:00AM
2356
October 04, 2010 08:27AM
2105
October 05, 2010 01:50PM
Re: MySQL Performance Tuning Help
2099
October 05, 2010 07:31PM
1971
October 05, 2010 07:40PM
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.