Tagged articles
5 articles
Page 1 of 1
Efficient Ops
Efficient Ops
Nov 13, 2023 · Databases

Understanding MySQL Parallel Replication: From Lag to Group Commit

This article explains why master‑slave lag occurs in MySQL, describes the evolution of parallel replication schemes—including group‑commit, Commit‑Parent‑Based, Lock‑Based, and WRITESET approaches—shows benchmark results, and provides practical configuration steps to enable high‑performance parallel replication.

BinlogGroup CommitWriteSet
0 likes · 19 min read
Understanding MySQL Parallel Replication: From Lag to Group Commit
dbaplus Community
dbaplus Community
May 2, 2023 · Databases

How MySQL Parallel Replication Cuts Slave Lag: Group Commit, Lock‑Based & WRITESET Explained

This article explains why MySQL slave lag is a critical issue, compares the official parallel replication schemes—including Commit‑Parent‑Based, Lock‑Based, and WRITESET—details their internal mechanisms, presents benchmark results, and provides the exact configuration parameters needed to enable high‑performance parallel replication.

Group CommitReplicationWriteSet
0 likes · 17 min read
How MySQL Parallel Replication Cuts Slave Lag: Group Commit, Lock‑Based & WRITESET Explained
Tencent Database Technology
Tencent Database Technology
Sep 14, 2021 · Databases

Writeset‑Based Replication in MySQL: Background, Principles, Source‑Code Analysis, Testing, and Summary

This article explains how MySQL’s logical‑clock replication can be enhanced with writeset‑based dependency tracking, detailing the underlying theory, code implementation, configuration options, performance testing, and practical considerations for improving parallel applier concurrency.

BinlogReplicationTransaction Dependency
0 likes · 12 min read
Writeset‑Based Replication in MySQL: Background, Principles, Source‑Code Analysis, Testing, and Summary
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 2, 2019 · Databases

Understanding MySQL Write‑Set Based Parallel Replication and Last‑Commit Handling

This article explains MySQL's write‑set based parallel replication, detailing how writeset hashes are generated, stored in a historical map, and used to adjust the last‑commit value for improved parallel replay, including configuration parameters, code examples, and the impact of different dependency‑tracking modes.

BinlogDatabase InternalsTransaction Dependency
0 likes · 15 min read
Understanding MySQL Write‑Set Based Parallel Replication and Last‑Commit Handling
dbaplus Community
dbaplus Community
Aug 13, 2018 · Databases

How MySQL 8.0’s WriteSet Parallel Replication Eliminates Replication Lag

This article explains the evolution of MySQL replication, from the classic master‑slave model to schema‑level and group‑commit parallelism in 5.7, and finally the WriteSet‑based parallel replication introduced in MySQL 8.0, including configuration parameters, conflict‑detection logic, and performance test results.

Database ReplicationWriteSetmysql
0 likes · 19 min read
How MySQL 8.0’s WriteSet Parallel Replication Eliminates Replication Lag