Tag

MTS

0 views collected around this technical thread.

Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 2, 2024 · Databases

Root Cause Analysis of MySQL Replica Synchronization Hang and Mitigation Recommendations

This article investigates a MySQL 8.0.27 replica that repeatedly hangs during show replica status, analyzes worker thread states, InnoDB status, checkpoint and I/O load, identifies an oversized Redo Log usage as the root cause, and provides configuration and upgrade suggestions to resolve the issue.

InnoDBMTSMySQL
0 likes · 14 min read
Root Cause Analysis of MySQL Replica Synchronization Hang and Mitigation Recommendations
Tencent Database Technology
Tencent Database Technology
Feb 22, 2022 · Databases

Analysis of Relay Log Recovery and Crash Safety in MySQL GTID‑Based and Binary‑Log‑File‑Position Replication

This article examines how MySQL slaves recover their replication state in GTID‑based and binary‑log‑file‑position scenarios, identifies unsafe factors that can cause crash‑unsafe behavior, and explains how enabling relay_log_recovery=on mitigates these risks while outlining remaining limitations.

Crash SafetyGTIDMTS
0 likes · 14 min read
Analysis of Relay Log Recovery and Crash Safety in MySQL GTID‑Based and Binary‑Log‑File‑Position Replication
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 9, 2021 · Databases

Performance Evaluation of DTLE Parallel Replay with MTS Feature

This article examines how enabling the MTS (writeset‑based incremental parallel replay) feature in DTLE and MySQL affects data transfer speed, CPU and memory usage, and network latency, presenting test procedures, configurations, and performance results that show up to 28‑fold speed improvements.

DTLEMTSMySQL
0 likes · 13 min read
Performance Evaluation of DTLE Parallel Replay with MTS Feature
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 20, 2020 · Databases

Understanding MySQL Multi‑Threaded Slave (MTS) Checkpoint Mechanism and Event Execution

This article explains how MySQL's Multi‑Threaded Slave (MTS) processes events, manages checkpoints, and persists state using GAQ queues, bitmaps, and system tables, providing detailed code references and configuration parameters for reliable parallel replication.

CheckpointGTIDMTS
0 likes · 14 min read
Understanding MySQL Multi‑Threaded Slave (MTS) Checkpoint Mechanism and Event Execution
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
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
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.

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