
MySQL 8 Cookbook
By :

MySQL multi-source replication enables a replication slave to receive transactions from multiple sources simultaneously. Multi-source replication can be used to back up multiple servers to a single server, merge table shards, and consolidate data from multiple servers to a single server. Multi-source replication does not implement any conflict detection or resolution when applying transactions, and those tasks are left to the application if required. In a multi-source replication topology, a slave creates a replication channel for each master that it should receive transactions from.
In this section, you will learn how to set up a slave with multiple masters. This method is the same as setting up traditional replication over the channels.
Assume that you are setting up server3
as a slave of server1
and server2
. You need to create traditional replication from server1
to server3
over a channel and from server2
to server3
over another channel...
Change the font size
Change margin width
Change background colour