[MDEV-7249] Performance problem in parallel replication with multi-level slaves Created: 2014-12-02 Updated: 2015-04-22 Resolved: 2015-03-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.0.15 |
| Fix Version/s: | 10.0.18, 10.1.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Kristian Nielsen | Assignee: | Kristian Nielsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | parallelslave, performance, replication | ||
| Issue Links: |
|
||||||||
| Description |
|
In MariaDB 10.0, the primary way to get parallelism on the slave is applying However, when using a multi-level replication hierarchy, like M->S1->S2, the However, on S1, we often in fact know that some transactions T1, T2, T3 were Another possibility to increase parallelism on S2 is to utilise The - However, this theory fails if T2 has a row lock conflict on T1. Then T2 will We could avoid this problem, as the slave in fact already has the information We could have --binlog-commit-wait-heuristics=follow_master_commit|detect_conflict. We have a user who tested and was able to get very good parallel replication |
| Comments |
| Comment by Kristian Nielsen [ 2015-03-13 ] |
|
http://lists.askmonty.org/pipermail/commits/2015-March/007582.html |
| Comment by Kristian Nielsen [ 2015-03-13 ] |
|
Pushed to 10.0.18 and (after merge) 10.1.4. |
| Comment by Daniel Black [ 2015-03-19 ] |
|
after running tests I couldn't see binlog_trigger_immediate_group_commit called. (ref: https://github.com/MariaDB/server/pull/30) |
| Comment by Kristian Nielsen [ 2015-03-19 ] |
|
> after running tests I couldn't see binlog_trigger_immediate_group_commit It is triggered by the test case binlog.binlog_commit_wait. |
| Comment by Kristian Nielsen [ 2015-04-22 ] |
|
Unfortunately this did not get into 10.1.4, it will be in 10.1.5 though. |