Tag

parallel replication

1 views collected around this technical thread.

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.

MySQLPerformance Benchmarkbinlog
0 likes · 19 min read
Understanding MySQL Parallel Replication: From Lag to Group Commit
Selected Java Interview Questions
Selected Java Interview Questions
Jul 15, 2021 · Databases

Fundamentals and Advanced Strategies of MySQL Master‑Slave Replication

This article explains the basic principles of MySQL master‑slave architecture, the role of read‑only replicas, loop‑replication problems, master‑slave delay measurement, various failover strategies, parallel replication mechanisms across MySQL versions and MariaDB, GTID usage, and read‑write splitting techniques, providing practical commands and diagrams for each concept.

Database LagGTIDMaster‑Slave
0 likes · 31 min read
Fundamentals and Advanced Strategies of MySQL Master‑Slave Replication
Selected Java Interview Questions
Selected Java Interview Questions
Apr 13, 2021 · Databases

MySQL Master‑Slave Replication: Types, Use Cases, Principles, and Solutions

This article explains MySQL master‑slave replication, covering replication modes, use cases, required configurations, underlying mechanisms, common issues, and solutions such as semi‑synchronous and parallel replication, along with practical configuration examples and monitoring commands.

Database AdministrationMaster‑SlaveMySQL
0 likes · 7 min read
MySQL Master‑Slave Replication: Types, Use Cases, Principles, and Solutions
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 11, 2020 · Databases

Understanding MySQL Parallel Replication: Schema‑based MTS, Logical Clock, Write‑Set and Fairness Metrics

This article explains the evolution of MySQL parallel replay from schema‑based MTS to logical‑clock and write‑set mechanisms, shows how to configure and tune parallel replication, and introduces a Jain‑index based fairness metric for evaluating the optimal number of slave_parallel_workers.

MySQLPerformance SchemaPerformance Tuning
0 likes · 8 min read
Understanding MySQL Parallel Replication: Schema‑based MTS, Logical Clock, Write‑Set and Fairness Metrics
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 19, 2020 · Databases

Understanding MySQL Multi‑Threaded Slave (MTS) Parallel Replication Mechanism

This article explains the internal workflow of MySQL's multi‑threaded slave (MTS) parallel replication, covering the coordination thread, logical‑clock sub‑mode, worker allocation, waiting states, key configuration parameters, and illustrative code snippets and log analysis.

Database InternalsGTIDMTS
0 likes · 13 min read
Understanding MySQL Multi‑Threaded Slave (MTS) Parallel Replication Mechanism
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.

Database InternalsMySQLTransaction Dependency
0 likes · 15 min read
Understanding MySQL Write‑Set Based Parallel Replication and Last‑Commit Handling
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 27, 2019 · Databases

MySQL Binlog Commit Process: Parameter Settings and Step‑by‑Step Analysis

This article provides a comprehensive, step‑by‑step analysis of MySQL’s binlog commit workflow, covering key parameters such as binlog_group_commit_sync_delay, sync_binlog, and binlog_transaction_dependency_tracking, and explains how last_commit and seq_number are generated and used in parallel replication.

Commit ProcessGTIDMySQL
0 likes · 15 min read
MySQL Binlog Commit Process: Parameter Settings and Step‑by‑Step Analysis
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 12, 2019 · Databases

Understanding MySQL MTS (Enhanced Multi‑Threaded Slave) and DTLE Configuration for Parallel Replication

This article explains how MySQL's enhanced multi‑threaded slave (MTS) feature, introduced in 5.6.3 and refined in 5.7, reduces replication lag, describes the DTLE component that enables MTS parallel replay, shows the required configuration parameters, and presents performance test results demonstrating up to six‑fold speed improvement.

DTLEDatabase PerformanceMTS
0 likes · 6 min read
Understanding MySQL MTS (Enhanced Multi‑Threaded Slave) and DTLE Configuration for Parallel Replication
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 15, 2019 · Databases

Understanding and Solving MySQL Slave Lag: Causes, Scenarios, and Optimizations

This article analyzes common MySQL slave‑lag scenarios—including missing indexes, large master transactions, high write rates, and MyISAM backups—explains their risks, and provides practical solutions such as index tuning, hardware upgrades, configuration changes, and enabling parallel replication to improve replication performance.

MySQLPerformance TuningReplication
0 likes · 13 min read
Understanding and Solving MySQL Slave Lag: Causes, Scenarios, and Optimizations
Tencent Database Technology
Tencent Database Technology
Dec 5, 2017 · Databases

Understanding MySQL Multi‑Threaded Slave (MTS) Parallel Replication: Schema, Commit‑Parent, and Lock‑Interval Methods

This article explains MySQL's evolution of parallel replication—from schema‑based MTS in 5.6, through commit‑parent based replication in 5.7, to the more efficient lock‑interval approach—detailing the underlying binlog group‑commit mechanisms, master‑side support, and the slave‑side worker coordination that together reduce replication lag.

Database InternalsMTSMySQL
0 likes · 19 min read
Understanding MySQL Multi‑Threaded Slave (MTS) Parallel Replication: Schema, Commit‑Parent, and Lock‑Interval Methods
Architect
Architect
Feb 25, 2016 · Databases

Understanding MySQL 5.6 Parallel Replication (MTS) Architecture and Implementation

This article explains the design, configuration parameters, core data structures, initialization, coordinator distribution, worker execution, checkpointing, and shutdown procedures of MySQL 5.6's Multi‑Threaded Slave (MTS) parallel replication, providing a code‑level walkthrough for developers and DBAs.

CheckpointDatabase ReplicationMTS
0 likes · 17 min read
Understanding MySQL 5.6 Parallel Replication (MTS) Architecture and Implementation