Database Topic Archive

MySQL Articles

InnoDB internals, replication, locking, query performance, and MySQL operations notes.

MySQL 8.0 Removed the Query Cache: What Actually Replaces It
8 min read

Our 5.7 box showed a 38% query cache hit rate and still served most reads from disk — the cache was inflating the numbers while a single mutex capped throughput. What 8.0 removed, how to find dependent queries, and what…

max_allowed_packet: The MySQL Setting That Breaks Restores at 3 AM
8 min read

A mysqldump restore died at 61% with ERROR 1153 because one BLOB row exceeded the client default — and the dump itself had been 'successful'. The real defaults per tool, the replication variant, and how to size it without guessing…

Silent Replica Drift: Finding and Fixing It with pt-table-checksum
7 min read

A failover rehearsal exposed 214 rows on a replica that existed nowhere else, and replication had been 'healthy' the whole time. How drift happens under green dashboards, how pt-table-checksum proves it, and how to repair without a rebuild.