Releem / mysqlconfigurer

Releem is a simple MySQL tuning tool to improve database performance and reduce servers costs.
https://releem.com
GNU General Public License v3.0
254 stars 26 forks source link

Improvements of Health check - Table cache hit rate #201

Closed drupaladmin closed 9 months ago

drupaladmin commented 11 months ago

Improve the Health check https://releem.com/blog/mysql-health-checks

Table cache hit rate as low as 20% can be absolutely devastating for performance. On a very busy, high throughput system that is otherwise reasonably well tuned, I have seen goodput collapse happen due to table_open_Cache not being high enough at over 90% hit rate. Given how cheap this cache is, you don't tune it for cache hit rate, you tune it so that overflows don't happen.

If that is not possible due to some other absurdity on the system (for example, I have seen database systems with over 1M tables on a single server, arising from the one-database-per-customer on a shared host anti-pattern), then no amount of tuning is going to help and the more fundamental underlying design/architecture issue needs to be addressed.

drupaladmin commented 9 months ago

Improved Table Cache Hit Rate Health Check. The link is here https://releem.com/blog/mysql-health-checks#rec565309195