Database Topic Archive

MySQL Articles

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

InnoDB Change Buffer on Write-Heavy Loads: When to Turn It Off
10 min read

A nightly import of 380M rows spent more time merging the change buffer than inserting rows. What the change buffer defers, why unique indexes opt out, the two knobs that control it, and which workloads should disable it.

The XtraBackup and Binlog PITR Workflow I Actually Trust
7 min read

Percona XtraBackup plus binary logs is still the workhorse recovery story for self-managed MySQL. These are field notes on the full/incremental cadence, prepare ordering, and the restore rehearsal that catches bad backups.

A performance_schema Setup That Pays for Itself
7 min read

performance_schema has a reputation for overhead it no longer deserves. Field notes on which instruments and consumers to enable, how to measure the memory cost, and how digests catch query regressions before customers do.