加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

从showslavestatus中判断mysql同步状态

(2024-01-11 03:27:15)
分类: 数据库es

slave status 中检查同步状态:

 

  1、sql线程和io线程显示yes

    Slave_IO_Running: Yes
    Slave_SQL_Running: Yes  

  2、

    Master_Log_File 和  Relay_Master_Log_File 相等

  3、

    Read_Master_Log_Pos 和 Exec_Master_Log_Pos 相等

  4、

    Slave_SQL_Running_State: 的状态为:

    Slave_SQL_Running_State: Slave has read all relay log; waiting for the slave I/O thread to update it

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有