Phxsql Tutorial: MySQL-compatible DB cluster

Source: Internet
Author: User
Tags percona

Phxsql is a MySQL-compatible, highly available, data-consistent, relational database cluster. Phxsql is deployed in a single-master multi-slave manner, with more than half of the machines surviving within the cluster, enabling automatic master switching and data consistency.

Phxsql was developed based on Percona 5.6. Percona is a branch of MySQL, and the functionality and implementation are basically consistent with MySQL (Tengyun technology ty300.com). As a result, MySQL is the object of discussion in this paper.

MySQL semi-synchronous replication is defective, and in the scenario where master switches, the data is difficult to ensure consistent.

When the old master replication fails, the old master and updated Slave (Slave received binlog) need to roll back the data.

When master switches, the old master still has some client read and write.

Data consistency issues with MySQL semi-synchronous replication view Background Team Public number article a discussion on the data consistency of MySQL semi-synchronous replication.

Phxsql is designed to address the lack of MySQL semi-synchronous replication (diligent Novice tutorial qkxue.net), so that MySQL cluster in the master switching process to ensure the consistency of the data.

More Phxsql Tutorials: MySQL-compatible DB cluster, click here

Phxsql Tutorial: MySQL-compatible DB cluster

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.