This page is original PmaControl documentation. It keeps a practical index structure for MySQL optimization work, without copying third-party content or depending on an external product.
Objective
A MySQL health check verifies whether the server is operationally healthy: availability, capacity, coherent limits, absence of critical signals, and minimum configuration quality.
Essential Checks
- Uptime and recent restarts.
- Connection saturation compared with
max_connections. - Disk-read ratio from the buffer pool.
- Temporary tables created on disk.
- Connection errors and
Aborted_clients. - Long locks, deadlocks, and waiting queries.
- Free space for datadir, binary logs, and redo logs.
Basic SQL
SHOW GLOBAL STATUS LIKE 'Uptime';
SHOW GLOBAL STATUS LIKE 'Max_used_connections';
SHOW GLOBAL STATUS LIKE 'Created_tmp_disk_tables';
SHOW ENGINE INNODB STATUS\G
Interpretation
A health check should not only output a red/green list. It must explain impact, priority, and how to confirm the diagnosis.