Database Topic Archive

MySQL Articles

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

MySQL Multi-Source Replication: Fan-In Without the Conflicts
7 min read

Multi-source replication lets one replica fan in from many primaries with FOR CHANNEL syntax — but there is no conflict detection and no last-write-wins. Setup, per-channel monitoring, GTID bookkeeping, and when a pipeline beats fan-in.

Where MySQL Memory Actually Goes: A Diagnosis Field Guide
7 min read

MySQL memory is not just the buffer pool. This guide maps global versus per-session allocations, shows how to interrogate performance_schema memory instrumentation, and walks through a real OOM-kill postmortem workflow.

MySQL Invisible Indexes: Test the Drop Before You Drop
7 min read

Dropping an index is instant; rebuilding it under incident pressure takes hours. Field notes on using MySQL 8.0 invisible indexes as a safety net, plus the audit workflow that finds safe candidates.