摘要: 参考官网:https://dev.mysql.com/doc/refman/5.7/en/replication-implementation-details.html MySQL复制功能是通过三个线程实现的,包括主上的binlog dump tread和从上的sql thread、I/O ttre 阅读全文
posted @ 2017-07-13 20:58 西橙 阅读(216) 评论(0) 推荐(0)
摘要: 参考官网:https://dev.mysql.com/doc/refman/5.7/en/replication-features-triggers.html 需要了解复制和触发器关系的背景: 程序变更的数据和账单对不上,但从程序上无法找到问题,于是开发人员想在数据库层记录通过触发器来记录每次变更的 阅读全文
posted @ 2017-07-13 13:35 西橙 阅读(455) 评论(0) 推荐(0)