September 2014
Intermediate to advanced
298 pages
6h 13m
English
By default, replications are single-threaded (only one event executing at a time). This can lead to performance issues when you're using multisource replication without activating parallel replication. Since MariaDB 10, a pool of separate replication worker threads is available to apply multiple events in parallel. You can go up to 10 times faster when parallel replication is enabled.
To enable parallel replication, add this line in your MariaDB configuration file (my.cnf):
slave-parallel-threads=4
A 0 value means disabled and the maximum value is 16383.
If you're going too high on this value, you may encounter a slowdown.
Other options can be used and adjusted to fine tune parallel replication:
slave_parallel_max_queued: This sets ...Read now
Unlock full access