Send to Kindle
See the bellow image, it represents how asynchronous replication
works on MySQL
Bearing in mind the number on the image, let’s see how the process works:
- Item 1 in the image represents the clients executing queries
on master, note that the master is capable to handle multiple
simultaneous connections (it can be configurable by
max_connections
variable). - Master process these queries, and save it to his binary log(item number 2 in the image), then it can later on be replied on the slave.
- The slave has 2 threads reubuntu mount ext4
partitionsponsible to deal with replication :
-
…
-