mysql5.7并行复制遇到的问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/aoerqileng/article/details/80648224

收到告警,从库有延时,登录上去看下没有什么慢查询,出现了下面的事件:
Slave_SQL_Running_State: Waiting for Slave Workers to free pending events
官方文档解释
This waiting action occurs when the total size of events being processed by Workers exceeds the size of the slave_pending_jobs_size_max system variable. The Coordinator resumes scheduling when the size drops below this limit. This state occurs only when slave_parallel_workers is set greater than 0.

临时将并行复制关闭

猜你喜欢

转载自blog.csdn.net/aoerqileng/article/details/80648224
今日推荐