Resources
MySQL Problems, with the Query to Run and the Warning You Could Have Had
Each guide takes one problem that pages a MySQL DBA: what the server says, the queries that show who or what caused it, the fixes in the order that does not make it worse, and how Radar Engine reports it before the outage. The SQL runs on MySQL 8.0 or later.
Free tools: paste EXPLAIN ANALYZE output into the MySQL EXPLAIN analyzer or a deadlock into the deadlock analyzer, and dbCove AI gives the cause and the fix.
Replication
- Replication stopped
Which thread stopped, what the error number says (1062, 1032, 1236, 2003, 1045, 2061), and the fix for each. - Replication lag
Behind on receiving or on applying, the causes behind each, and why Seconds_Behind_Source can read 0.
Load
- Lock wait timeout exceeded (error 1205)
The session at the head of the queue, the metadata lock behind an ALTER, and the timeouts that bound it. - Too many connections (error 1040)
Getting in when the server is full, which account holds the connections, and the fix before raising the limit.
Space
- AUTO_INCREMENT running out
How close every column is to its ceiling, why values run out faster than rows, and the move to BIGINT.
Watch every instance for these
dbCove runs 18 Radar detectors on every MySQL instance and reports each of these problems while there is still time to act, with no agent on the server and one read-only account. dbCove AI answers why, with the instance's own sessions, statements and locks. See MySQL monitoring with dbCove.