复制原理以及流程
1)Master 将日志写入 binlog;
2)Slave 的 I/O 线程读取 Master 的 binlog,将其保存到 relaylog 中;
3)Slave 的 SQL 线程执行 relaylog;
相关文章
主从一致性检查:Verify Replication Integrity
推荐阅读
MySQL 5.7 Reference Manual / Replication
MySQL Replication / Replication 5.7
相关链接
Replication in MySQL 5.6: GTIDs benefits and limitations – Part 1
复制的格式
两种复制方式的对比
Why use GTIDs in MySQL replication?
数据库复制杂记
Multi-Source Replication
Single slave – multiple master MySQL replication
MySQL 5.7 Multi-Source Replication – Automatically Combining Data From Multiple Databases Into One
WIP 研究 MySQL 多源复制
WIP 使用 Otter 进行数据同步
As of October 2013 MySQL (> 5.7.6) supports multi-source replication.
MySQL Group Replication
WIP MySQL Group Replication
MySQL MGR 集群搭建(单主模式&多主模式)