MySQL Flexible Server Replication Lag (~37 mins) During Peak Load Without CPU, Memory, or IOPS Bottlenecks
Niket Kumar Singh
410
Reputation points
Environment Details:
- Primary Server:
- Configuration: Business Critical,
E16ds_v5 (16 vCores, 128 GiB RAM, 2227 GB Storage, 10000 IOPS)
- Replication Type: Binlog-based replication (
gtid_mode = OFF
)- MySQL Version:
8.0
- MySQL Version:
- Replica Server:
- Configuration: Business Critical,
E8ds_v5 (8 vCores, 64 GiB RAM, 2338 GB Storage, 10000 IOPS)
- MySQL Version:
8.0
- Replication Type: Binlog-based
- Parallel Workers (
slave_parallel_workers
):32
- Pending Jobs Size (
slave_pending_jobs_size_max
):1GB
- Disk & IOPS:
No burst observed, stable at 10000 IOPS
- CPU & Memory Usage: No spikes during lag periods
- No CPU, memory, or IOPS burst is observed on the Primary or Replica.
- Binlog processing is happening, but the replica is not catching up.
- Long-running transactions on the Primary are minimal.
- MySQL Version:
Sign in to answer