Tag

Replication

1 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.

DockerMySQLReplication
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.

ConfigurationGTIDMaster‑Slave
0 likes · 10 min read
Step-by-Step Guide to Setting Up MySQL 5.7 Master‑Slave Replication
Raymond Ops
Raymond Ops
Apr 9, 2025 · Databases

Step-by-Step Guide to Installing MySQL 5.7 on ARM (Aarch64) Linux

This tutorial walks you through checking the OS architecture, preparing the environment, downloading and extracting the MySQL 5.7 ARM package, configuring my.cnf, setting up auto‑start and environment variables, initializing the server, securing the root account, and configuring master‑slave replication on Linux.

ARMAarch64Installation
0 likes · 13 min read
Step-by-Step Guide to Installing MySQL 5.7 on ARM (Aarch64) Linux
Raymond Ops
Raymond Ops
Apr 2, 2025 · Databases

How to Set Up MySQL Master‑Slave Replication (Step‑by‑Step Guide)

This guide walks you through preparing multiple virtual machines, configuring MySQL server IDs, setting up both classic and GTID‑based master‑slave replication, and managing the replication with essential commands, complete with code examples and architecture diagrams.

GTIDMaster‑SlaveMySQL
0 likes · 6 min read
How to Set Up MySQL Master‑Slave Replication (Step‑by‑Step Guide)
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.

MySQLReplicationdatabase
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
Raymond Ops
Raymond Ops
Feb 9, 2025 · Databases

How to Set Up MySQL Master‑Slave Replication and Read/Write Splitting with MySQL‑Proxy

This guide walks through building a three‑node lab, installing MariaDB, configuring master‑slave binary‑log replication, creating a test database, and then deploying MySQL‑Proxy on an application server to achieve transparent read/write splitting between the master and slave.

DatabaseAdministrationMySQLProxy
0 likes · 11 min read
How to Set Up MySQL Master‑Slave Replication and Read/Write Splitting with MySQL‑Proxy
Raymond Ops
Raymond Ops
Feb 6, 2025 · Databases

Master MongoDB Config: System Log, Network, Security & More

This article provides a comprehensive overview of MongoDB's configuration file, detailing system log options, process management, network settings, security parameters, storage engine configurations, slow query profiling, replication, sharding, and mongos-specific settings, with explanations of each option and recommended defaults.

ConfigurationMongoDBReplication
0 likes · 12 min read
Master MongoDB Config: System Log, Network, Security & More
Raymond Ops
Raymond Ops
Jan 25, 2025 · Databases

Master MongoDB Replication Sets and Sharding: Step‑by‑Step Guide

This comprehensive guide walks you through MongoDB replica set fundamentals, member roles, architecture, and configuration commands, then dives into sharding concepts, cluster components, chunk management, shard key selection, deployment steps, balancing operations, and practical troubleshooting tips, all illustrated with clear code examples and diagrams.

MongoDBReplicationSharding
0 likes · 34 min read
Master MongoDB Replication Sets and Sharding: Step‑by‑Step 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 SystemsMySQLRedis
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.

GTIDMySQLReplication
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.

MySQLReplicationautomation
0 likes · 4 min read
Shell Scripts for MySQL Database Backup and Master‑Master Replication