Backup and replication of MSYQL and Atlas

Source: Internet
Author: User

Backup:

Mysqldump: The data is exported from the database and imported, the data is exactly the same, but time-sensitive, large amount of data backup can be a nuisance.


Master-slave replication:

MySQL replication: Has the effect of backing up MySQL. The commands executed on the primary MySQL are copied to the Binlog file to be executed again from MySQL, and the data is usually consistent, depending on the size of the network impact. Some commands can cause inconsistent data,



Atlas,mycat and other middleware:


MySQL is usually configured for master-slave use, to achieve reading separation, reduce the resource overhead of primary MySQL, and improve performance. The point is that some special statements, the retrieval of the results of different, such as inserting the MySQL UUID in the data table, after the completion of the Lord, after the execution of this command, then query the MySQL UUID. The resulting UUID value is inaccurate (get from the MySQL uuid, actually want to get the master uuid, then if the value to do other changes, the data inconsistency will be more serious)

Backup and replication of MSYQL and Atlas

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.