免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2813 | 回复: 7
打印 上一主题 下一主题

【mysql主从同步延迟一天了,是什么问题】发现中继日志位置不变了 [复制链接]

论坛徽章:
3
2015元宵节徽章
日期:2015-03-06 15:53:222015小元宵徽章
日期:2015-03-06 15:58:182015年亚洲杯之澳大利亚
日期:2015-03-18 18:01:18
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-10-09 17:43 |只看该作者 |倒序浏览
Slave_IO_State: Waiting for master to send event
                  Master_Host: 192.168.5.114
                  Master_User: replication
                  Master_Port: 3306
                Connect_Retry: 60
              Master_Log_File: mysql-bin.000067
          Read_Master_Log_Pos: 636313222
               Relay_Log_File: RS233-relay-bin.000073
                Relay_Log_Pos: 249937473
        Relay_Master_Log_File: mysql-bin.000067
             Slave_IO_Running: Yes
            Slave_SQL_Running: Yes
              Replicate_Do_DB:
          Replicate_Ignore_DB: test,weixin_common_score_test,mysql,performance_schema,information_schema
           Replicate_Do_Table:
       Replicate_Ignore_Table:
      Replicate_Wild_Do_Table:
  Replicate_Wild_Ignore_Table:
                   Last_Errno: 0
                   Last_Error:
                 Skip_Counter: 0
          Exec_Master_Log_Pos: 249937327
              Relay_Log_Space: 636313567
              Until_Condition: None
               Until_Log_File:
                Until_Log_Pos: 0
           Master_SSL_Allowed: No
           Master_SSL_CA_File: 60
           Master_SSL_CA_Path: 0
              Master_SSL_Cert:
            Master_SSL_Cipher:
               Master_SSL_Key:
        Seconds_Behind_Master: 88769
Master_SSL_Verify_Server_Cert: No
                Last_IO_Errno: 0
                Last_IO_Error:
               Last_SQL_Errno: 0
               Last_SQL_Error:
  Replicate_Ignore_Server_Ids:
             Master_Server_Id: 115
1 row in set (0.00 sec)
                  


这是第二次show slave status\G的结果
Slave_IO_State: Waiting for master to send event
                  Master_Host: 192.168.5.114
                  Master_User: replication
                  Master_Port: 3306
                Connect_Retry: 60
              Master_Log_File: mysql-bin.000067
          Read_Master_Log_Pos: 636324309
               Relay_Log_File: RS233-relay-bin.000073
                Relay_Log_Pos: 249937473
        Relay_Master_Log_File: mysql-bin.000067
             Slave_IO_Running: Yes
            Slave_SQL_Running: Yes
              Replicate_Do_DB:
          Replicate_Ignore_DB: test,weixin_common_score_test,mysql,performance_schema,information_schema
           Replicate_Do_Table:
       Replicate_Ignore_Table:
      Replicate_Wild_Do_Table:
  Replicate_Wild_Ignore_Table:
                   Last_Errno: 0
                   Last_Error:
                 Skip_Counter: 0
          Exec_Master_Log_Pos: 249937327
              Relay_Log_Space: 636324654
              Until_Condition: None
               Until_Log_File:
                Until_Log_Pos: 0
           Master_SSL_Allowed: No
           Master_SSL_CA_File: 60
           Master_SSL_CA_Path: 0
              Master_SSL_Cert:
            Master_SSL_Cipher:
               Master_SSL_Key:
        Seconds_Behind_Master: 89151
Master_SSL_Verify_Server_Cert: No
                Last_IO_Errno: 0
                Last_IO_Error:
               Last_SQL_Errno: 0
               Last_SQL_Error:
  Replicate_Ignore_Server_Ids:
             Master_Server_Id: 115
1 row in set (0.00 sec)

论坛徽章:
3
2015元宵节徽章
日期:2015-03-06 15:53:222015小元宵徽章
日期:2015-03-06 15:58:182015年亚洲杯之澳大利亚
日期:2015-03-18 18:01:18
2 [报告]
发表于 2016-10-09 17:48 |只看该作者
没有大神吗

论坛徽章:
3
2015元宵节徽章
日期:2015-03-06 15:53:222015小元宵徽章
日期:2015-03-06 15:58:182015年亚洲杯之澳大利亚
日期:2015-03-18 18:01:18
3 [报告]
发表于 2016-10-09 17:52 |只看该作者
top了一下发现mysql占cpu99.9%

论坛徽章:
7
数据库技术版块每日发帖之星
日期:2015-11-17 06:20:00数据库技术版块每日发帖之星
日期:2015-11-18 06:20:00数据库技术版块每日发帖之星
日期:2015-11-30 06:20:00数据库技术版块每月发帖之星
日期:2016-01-07 23:03:06数据库技术版块每周发帖之星
日期:2016-01-07 23:06:31数据库技术版块每周发帖之星
日期:2016-01-07 23:06:47数据库技术版块每日发帖之星
日期:2016-01-14 06:20:00
4 [报告]
发表于 2016-10-12 16:28 |只看该作者
回复 3# 王子爱李娜

cpu飙高发生在slave还是master?
show processlist 显示的有关replication的进程状态是什么样子的?

论坛徽章:
3
2015元宵节徽章
日期:2015-03-06 15:53:222015小元宵徽章
日期:2015-03-06 15:58:182015年亚洲杯之澳大利亚
日期:2015-03-18 18:01:18
5 [报告]
发表于 2016-10-13 10:15 |只看该作者
回复 4# i6first

两个大大的yes slave cpu高

论坛徽章:
0
6 [报告]
发表于 2016-10-19 14:22 |只看该作者
mysql哪个版本?

论坛徽章:
0
7 [报告]
发表于 2016-10-19 14:25 |只看该作者
mysql哪个版本?

论坛徽章:
3
2015元宵节徽章
日期:2015-03-06 15:53:222015小元宵徽章
日期:2015-03-06 15:58:182015年亚洲杯之澳大利亚
日期:2015-03-18 18:01:18
8 [报告]
发表于 2016-10-25 18:51 |只看该作者
回复 7# chenfeng

mysql5.5.25
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP