Tag

Replication

0 views collected around this technical thread.

IT Xianyu
IT Xianyu
Jun 11, 2025 · Databases

Master MySQL Replication: Fix Common Errors and Resolve ‘command not found’ Issues

Learn step‑by‑step how to troubleshoot MySQL master‑slave replication problems, from verifying component roles and executing the correct SHOW SLAVE STATUS command inside the MySQL client, to fixing missing command errors, checking IO/SQL threads, and restarting replication in Docker‑based environments.

DockerLinuxMySQL
0 likes · 6 min read
Master MySQL Replication: Fix Common Errors and Resolve ‘command not found’ Issues
Java Captain
Java Captain
Jun 10, 2025 · Databases

Master MySQL Performance: Slow Queries, Indexes, Transactions & Replication

This article explains how to locate and analyze MySQL slow queries, understand index structures and types, apply best practices for index creation, handle large pagination, manage transaction isolation and MVCC, and implement master‑slave replication and sharding strategies for high‑performance databases.

Index OptimizationMySQLReplication
0 likes · 13 min read
Master MySQL Performance: Slow Queries, Indexes, Transactions & Replication
IT Xianyu
IT Xianyu
May 23, 2025 · Databases

Step‑by‑Step Guide to Setting Up MySQL Master‑Slave Replication with Docker

This article provides a comprehensive, step‑by‑step tutorial on deploying a MySQL master‑slave replication architecture using Docker containers, covering prerequisite checks, container setup, configuration files, replication user creation, master‑slave linking, testing data sync, and troubleshooting common issues.

DBADockerMySQL
0 likes · 8 min read
Step‑by‑Step Guide to Setting Up MySQL Master‑Slave Replication with Docker
IT Services Circle
IT Services Circle
May 16, 2025 · Databases

Internship Guidance, ByteDance Three‑Round Interview Experience, MySQL Replication Mechanics, and I/O Model Overview

The article combines practical advice for fresh graduates seeking internships and interview tips, shares a detailed ByteDance three‑round backend interview experience, explains MySQL master‑slave replication stages, binlog formats, and compares blocking, non‑blocking, multiplexed, and asynchronous I/O models.

I/OInterviewMySQL
0 likes · 15 min read
Internship Guidance, ByteDance Three‑Round Interview Experience, MySQL Replication Mechanics, and I/O Model Overview
IT Xianyu
IT Xianyu
Apr 19, 2025 · Databases

Step-by-Step Guide to Setting Up MySQL 5.7 Master‑Slave Replication

This tutorial walks through preparing the Linux environment, installing MySQL 5.7, configuring master and slave servers, creating replication users, verifying synchronization, troubleshooting common issues, and applying advanced options such as GTID and semi‑synchronous replication, all with complete command examples.

ConfigurationGTIDLinux
0 likes · 10 min read
Step-by-Step Guide to Setting Up MySQL 5.7 Master‑Slave Replication
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 27, 2025 · Databases

MySQL Replication Failure Analysis: Error 1594 and Relay Log Corruption

This article analyzes a MySQL master‑slave replication failure where the SQL thread stopped with error 1594, detailing log inspection, CRC checks, relay‑log corruption, root‑cause identification, and step‑by‑step remediation procedures for restoring replication.

CRCError 1594MySQL
0 likes · 13 min read
MySQL Replication Failure Analysis: Error 1594 and Relay Log Corruption
Cognitive Technology Team
Cognitive Technology Team
Mar 24, 2025 · Databases

Understanding MySQL Replication: Architecture, Binlog Formats, Use Cases, and Best Practices

This article explains MySQL's replication mechanism, detailing master‑slave architecture, key threads, binlog formats (statement, row, mixed), common application scenarios such as backup, read/write splitting, and data migration, and highlights important considerations like network latency, consistency, delay, and security.

High AvailabilityMySQLReplication
0 likes · 7 min read
Understanding MySQL Replication: Architecture, Binlog Formats, Use Cases, and Best Practices
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 19, 2025 · Databases

Why MySQL 5.7 Seconds_Behind_Master Is Unreliable and How pt‑heartbeat Provides Accurate Replication Lag Measurement

The article explains why the built‑in MySQL 5.7 Seconds_Behind_Master metric often misrepresents replication delay, analyzes its design flaws, and demonstrates how the Percona Toolkit's pt‑heartbeat tool can reliably measure master‑slave lag with real‑time precision.

Database MonitoringMySQLReplication
0 likes · 10 min read
Why MySQL 5.7 Seconds_Behind_Master Is Unreliable and How pt‑heartbeat Provides Accurate Replication Lag Measurement
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 10, 2025 · Databases

Using pt‑slave‑repair to Automatically Fix MySQL Master‑Slave Replication Errors 1032 and 1062

This article introduces the pt‑slave‑repair tool, explains the root causes of MySQL master‑slave replication errors 1032 and 1062, details its working principle, preparation steps, and provides concrete command‑line examples for automatically repairing these errors with minimal manual effort.

Error 1032Error 1062MySQL
0 likes · 15 min read
Using pt‑slave‑repair to Automatically Fix MySQL Master‑Slave Replication Errors 1032 and 1062
Cognitive Technology Team
Cognitive Technology Team
Mar 2, 2025 · Databases

Redis 8.0-M03 RDB Channel Replication Feature Overview and Implementation Guide

Redis 8.0-M03 adds an RDB channel replication feature that parallelizes RDB file transfer with write command streaming, reducing master node memory pressure and CPU load while improving full‑sync performance through a dedicated connection and configurable buffer limits.

ConfigurationRDB ChannelRedis
0 likes · 8 min read
Redis 8.0-M03 RDB Channel Replication Feature Overview and Implementation Guide
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 20, 2025 · Databases

Understanding MySQL 8.0.13 sql_require_primary_key and Resolving Inconsistent Data After Adding Auto‑Increment Primary Keys

This article analyzes why MySQL 8.0.13 introduced the sql_require_primary_key parameter, demonstrates how adding auto‑increment primary keys can cause master‑slave data inconsistencies, explains the underlying InnoDB row‑id behavior, and provides a step‑by‑step solution to synchronize tables.

InnoDBMySQLReplication
0 likes · 7 min read
Understanding MySQL 8.0.13 sql_require_primary_key and Resolving Inconsistent Data After Adding Auto‑Increment Primary Keys
JD Tech
JD Tech
Jan 9, 2025 · Databases

Challenges and Practices of Distributed Data Systems: Master‑Slave Replication, Partitioning, and High‑Availability Strategies

This article examines the core challenges of distributed data systems—including consistency, availability, and partition tolerance—then details master‑slave replication mechanisms for MySQL and Redis, various replication modes and binlog formats, and explores data partitioning, sharding, and hot‑key mitigation techniques for scalable, high‑availability deployments.

Distributed SystemsHigh AvailabilityMySQL
0 likes · 23 min read
Challenges and Practices of Distributed Data Systems: Master‑Slave Replication, Partitioning, and High‑Availability Strategies
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 23, 2024 · Databases

Resolving MySQL Replication Failure Caused by Host Field Mismatch in mysql.user

This article reproduces a MySQL replication error triggered by an incorrect host entry in the mysql.user table, analyzes the version‑specific host field differences, and provides a step‑by‑step fix using the slave_type_conversions parameter and proper user‑renaming practices.

Database AdministrationHost FieldMySQL
0 likes · 12 min read
Resolving MySQL Replication Failure Caused by Host Field Mismatch in mysql.user
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 2, 2024 · Databases

MySQL Replication Filter Expansion: Adding New Databases with Efficient Backup and Restore

This article explains how to extend an existing MySQL master‑slave replication filter to include additional databases by using a low‑cost backup‑restore workflow, detailing two solution options, the chosen approach, and step‑by‑step commands for stopping replication, backing up, setting GTID points, restoring, and updating filter rules.

BackupGTIDMySQL
0 likes · 9 min read
MySQL Replication Filter Expansion: Adding New Databases with Efficient Backup and Restore
Practical DevOps Architecture
Practical DevOps Architecture
Oct 28, 2024 · Databases

Shell Scripts for MySQL Database Backup and Master‑Master Replication

This article provides step-by-step Bash scripts for automating daily MySQL database backups, compressing tables, cleaning old archives, and configuring master‑master replication, including detailed commands for dumping databases, creating tar.gz packages, and setting up replication parameters on Linux servers.

Database BackupLinuxMySQL
0 likes · 4 min read
Shell Scripts for MySQL Database Backup and Master‑Master Replication
Selected Java Interview Questions
Selected Java Interview Questions
Oct 10, 2024 · Databases

MySQL Router 8.2 Read/Write Splitting with InnoDB ReplicaSet

This article explains how MySQL Router 8.2 enables automatic read/write splitting for InnoDB ReplicaSet deployments, showing configuration steps, code examples, and the benefits of directing reads to replicas and writes to the primary without modifying application code.

InnoDB ReplicaSetMySQLRead-Write Splitting
0 likes · 5 min read
MySQL Router 8.2 Read/Write Splitting with InnoDB ReplicaSet
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 26, 2024 · Databases

Redis Mastery: In‑Depth Overview of Redis Internals, Persistence, Replication, and Sentinel

This article introduces the new Redis book "Redis Mastery", explains core Redis concepts such as SDS strings, RDB/AOF persistence, master‑slave replication and Sentinel high‑availability, and also announces a limited‑time discount and giveaway for community members.

In-Memory DatabasePersistenceRedis
0 likes · 12 min read
Redis Mastery: In‑Depth Overview of Redis Internals, Persistence, Replication, and Sentinel
Selected Java Interview Questions
Selected Java Interview Questions
Aug 30, 2024 · Databases

Redis Mastery: Deep Dive into Architecture, Data Structures, Persistence, Replication, and Sentinel

This article introduces the Redis in‑memory database, highlights the new "Redis Mastery" book that blends theory with practical examples, and explains core concepts such as SDS string structures, RDB/AOF persistence, master‑slave replication, and Sentinel high‑availability mechanisms.

In-Memory DatabasePersistenceRedis
0 likes · 11 min read
Redis Mastery: Deep Dive into Architecture, Data Structures, Persistence, Replication, and Sentinel
System Architect Go
System Architect Go
Aug 22, 2024 · Fundamentals

Replication and Partitioning Mechanisms in Redis, Kafka, and Elasticsearch

This article examines the replication and partitioning designs of Redis, Kafka, and Elasticsearch, drawing on concepts from Designing Data‑Intensive Applications to illustrate core distributed‑system principles, common challenges, and practical configuration options.

DDIADistributed SystemsElasticsearch
0 likes · 7 min read
Replication and Partitioning Mechanisms in Redis, Kafka, and Elasticsearch
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 12, 2024 · Databases

Analyzing and Simulating MySQL show slave status Hang: Mutex Locks and Debugging

This article investigates why the MySQL show slave status command can hang in a 1‑master‑N‑slave replication setup, analyzes the involved mutex locks through source code inspection, and demonstrates a reproducible debugging scenario using GDB breakpoints and pstack to pinpoint lock contention.

MySQLReplicationdebugging
0 likes · 13 min read
Analyzing and Simulating MySQL show slave status Hang: Mutex Locks and Debugging