暂无图片
mysql中sql_slave_skip_counter的理解?
我来答
分享
暂无图片 匿名用户
mysql中sql_slave_skip_counter的理解?

sql_slave_skip_counter =1 ,是跳过一个事务?还是跳过一个错误,还是一个sql,还是一个event ?

我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
大大刺猬

sql_slave_skip_counter =1 是跳过一个事务啊, 不然事务的完整性都破坏了.
官网原文: https://dev.mysql.com/doc/refman/5.7/en/replication-administration-skip.html
16.1.7.3.2.1 Skipping Transactions With SET GLOBAL sql_slave_skip_counter
If you want to skip the complete transaction, you can count the events to the end of the transaction, or you can just skip the relevant event group. Remember that with SET GLOBAL sql_slave_skip_counter, the replica continues to skip to the end of an event group. Make sure you do not skip too far forward and go into the next event group or transaction, as this then causes it to be skipped as well.

暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏