Home  >  Article  >  Database  >  10 recommended courses on consistency verification

10 recommended courses on consistency verification

巴扎黑
巴扎黑Original
2017-06-15 13:40:391221browse

1. Introduction "MySQL master-slave replication" technology is widely used in common high-availability architectures in the Internet industry, such as the common one-master-slave replication architecture, keepalived + MySQL dual-master (master-slave) replication architecture, MHA + one master and two slaves The replication architecture and so on all apply MySQL master-slave replication technology. However, since master-slave replication is a logical replication based on binlog, the risk of inconsistency in replicated data is inevitable. This risk will not only cause inconsistency in user data access, but also lead to 1032 and 1062 errors in subsequent replication, which will cause the hidden danger of stagnation in the replication architecture. , In order to discover and solve this problem in time, we need to regularly or irregularly carry out master-slave replication data consistency verification and repair work, so how to achieve this work? How to automate this work? Let's explore these questions. 2. Data consistency check and repair method In order to achieve master-slave replication data consistency check and repair, we first recommend two popular tools, namely Percona’s

1. MySQL master-slave replication data consistency checksum repair method and automated implementation

10 recommended courses on consistency verification

##Introduction: "MySQL master "Slave replication" technology is widely used in common high-availability architectures in the Internet industry. For example, the common one-master-slave replication architecture, keepalived+MySQL dual-master (master-slave) replication architecture, MHA+one-master-two-slave replication architecture, etc. all use MySQL master. From copy technology.

2. Data consistency verification and repair procedure in MySQL non-master-slave environment

10 recommended courses on consistency verification

Introduction: Data consistency verification and repair procedures in MySQL non-master-slave environment

3. mysql master-slave data consistency Verification and error correction tool

Introduction: Table of contents 1. Overview 2. Installation of percona-tooldit tool 3. New user 4. Use of pt-table-checksum 5. pt -table-sync usage 6. Personal summary 1. Overview If you are an operation and maintenance personnel, if you are in a production environment

4. mysql master-slave data consistency calibration Verification and error correction tool

Introduction: Table of contents 1. Overview 2. Installation of percona-tooldit tool 3. New user 4. Use of pt-table-checksum 5. pt- Table-sync usage 6. Personal summary 1. Overview If you are an operation and maintenance personnel, if you have deployed the mysql system in your production environment, and if your online mysql is based on the master-slave replication architecture, then congratulations, it Will probably bring

5. MySQL master-slave consistency verification and repair

Introduction: master-slave Consistency verification scenario: Some people may ask: How to verify the consistency of master-slave? Or ask: Are the master-slave structure data of dozens of tables in a library consistent? To put it simply, you can use select count(*) on the master and slave respectively during the off-peak period to take a look. This method is the oldest and the accuracy is not very high. Please tell me if you are stealing this article. This article comes from yijiu.blo

6. mysql cluster data consistency check_MySQL

##Introduction: mysql cluster data consistency check

【Related Q&A recommendations】:

The above is the detailed content of 10 recommended courses on consistency verification. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn