MySQL manual version 5.0.20-MySQL synchronization _ PHP Tutorial

Source: Internet
Author: User
Tags mysql manual
MySQL manual version 5.0.20-MySQL synchronization. The synchronization function of 6MySQL was introduced in MySQL3.23.15. it can copy data from one MySQL server to another. This chapter describes various MySQL replication features 6 MySQLSynchronization

The synchronization function is available in MySQL
3.23.15 was introduced. it can copy data from one MySQL server to another. This chapter describes various replication features of MySQL. This section describes the concept of synchronization, how to set the synchronization server, and the reference for available servers. It also provides a series of frequently asked questions, answers, and answers.


"14.6 Replication Statements" describes SQL statement syntaxes related to synchronization.


We recommend that you always visit "http://www.mysql.com" to read the latest in this chapter. The synchronization function has been improving. we often update this manual to the latest content.




6.1 synchronization introduction



MySQL
3.23.15 and later versions support unidirectional synchronization. One server acts as the master server, and one or more servers act as the slave server ). The master server writes the updated content to the binary log (binary
And maintains an index file to record log loops. The updates in these logs are sent to the slave server. After a server load balancer instance is connected to the master, it notifies the master of the log location for the last successful incremental update. Slave will find all the update operations starting from that time, and then block and wait for the master to send new update operations.


If you want to create a synchronization server chain, slave can also be used as a master.


Note: After synchronization is enabled, all update operations to be synchronized must be performed on the master. Otherwise, do not cause conflicts between updates on the master node and those on the slave node.


One-way synchronization provides robust, high-speed, and easy system management:


With the master/slave mechanism, it becomes more stable. When a problem occurs on the master node, you can use slave as a backup switch.



Http://www.bkjia.com/PHPjc/631011.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/631011.htmlTechArticle6 MySQL synchronization function was introduced in MySQL 3.23.15, it can copy the data on one MySQL server to another. This chapter describes various replication features of MySQL...

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.