Database Topic Archive

MySQL Articles

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

Reading SHOW PROCESSLIST Honestly: MySQL Thread States That Matter
7 min read

SHOW PROCESSLIST is the first thing everyone runs and the most misread output in MySQL operations. Here is what the thread states actually mean, which pileups matter, and how to build a triage habit around performance_schema.threads.

The MySQL sys Schema as a Daily Driver: Five Views Worth Your Time
7 min read

The sys schema ships with every MySQL 8.x server and most teams never open it. These are the five views I actually use every day - statement_analysis, the index-hygiene pair, file I/O, and host_summary - with the caveats that keep…

MySQL Semi-Sync Replication Pitfalls in Production
7 min read

Semi-synchronous replication promises that a commit is acknowledged by at least one replica before the client sees success. The fine print — silent fallback to async, wait points, and what an ack actually means — is where production incidents live.

MySQL Replication Lag and the Parallel Applier: A Field Guide
7 min read

A single-threaded applier turns a busy source's parallel writes into a serial queue, and Seconds_Behind_Master will smile at you while it grows. How the parallel applier really decides what can run concurrently, and how to measure lag honestly.