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.
Reading
A deadlock is a normal resolution of a transactional conflict. The problem is its frequency and the absence of application retry.
Collection
systemctl status mysql
journalctl -u mysql --since "1 hour ago"
SHOW FULL PROCESSLIST;
SHOW ENGINE INNODB STATUS\G
Correction
- Confirm the symptom with logs and metrics.
- Isolate the responsible account, database, query, or limit.
- Apply a targeted correction.
- Verify that the signal decreases after deployment.