In this blog post, we’ll look at the performance of multi-source
replication with GTID.
Multi-Source Replication is a topology I’ve seen discussed
recently, so I decided to look into how it performs with the
different replication concepts. Multi-source replication use
replication channels, which allow a slave to replicate from
multiple masters. This is a great way to consolidate data that
has been sharded for production or simplify the analytics process
by using the same server. Since multiple masters are taking
writes, care is needed to not overlook the slave. The traditional
replication concept uses the binary log file name, and the
position inside that file.
This was the standard until the release of global transaction
identifiers (GTID). I have set up a test environment to validate
which concept would perform better, and be a better choice for
use in this topology.
SETUP
My test suite …
[Read more]