CertGrid CertGrid
Concepts·MySQL

MySQL Replication Topology Monitoring

`SHOW REPLICA STATUS` says replication is running. It cannot say the data matches - and the replication track proved those are different questions. A checksum across all three hosts is the check that closes the gap.

Monitoring and Operations Guide 45 of 45 Advanced

Written against the versions above. `pt-table-checksum` from Percona Toolkit does this properly at scale, chunking large tables and comparing under load. The query here is the same idea, small enough to read.

All three hosts, because a consistency check that only reads one of them is not a consistency check.
Server NameIP AddressOSRolesCPURAMHDD
db-a01192.168.0.81Ubuntu 26.04 LTSPrimary / Source / Replica Set Member 12 Core4 GB50 GB
db-b01192.168.0.82Ubuntu 26.04 LTSStandby / Replica / Replica Set Member 22 Core4 GB50 GB
db-c01192.168.0.83Ubuntu 26.04 LTSReplica Set Member 3 / Cascading and Delayed Replica2 Core4 GB50 GB

Before you start

  1. Check that replication is running

  2. Check that the data actually matches

Official sources