zoukankan      html  css  js  c++  java
  • Binlog Dump线程

    #############################

    一:没有开启GTID的dump线程命令:Binlog Dump

    root@xxx(information_schema) > select * from processlist where command='Binlog Dump'G;
    *************************** 1. row ***************************
               ID: 1095759
             USER: sync
             HOST: nnn:27826
               DB: NULL
          COMMAND: Binlog Dump
             TIME: 2267423
            STATE: Master has sent all binlog to slave; waiting for more updates
             INFO: NULL
          TIME_MS: 2267422977
        ROWS_SENT: 0
    ROWS_EXAMINED: 0
    *************************** 2. row ***************************
               ID: 1095760
             USER: sync
             HOST: zzz:30563
               DB: NULL
          COMMAND: Binlog Dump
             TIME: 2267423
            STATE: Master has sent all binlog to slave; waiting for more updates
             INFO: NULL
          TIME_MS: 2267422978
        ROWS_SENT: 0
    ROWS_EXAMINED: 0
    *************************** 3. row ***************************
               ID: 1095761
             USER: sync
             HOST: yyy:59281
               DB: NULL
          COMMAND: Binlog Dump
             TIME: 2267423
            STATE: Master has sent all binlog to slave; waiting for more updates
             INFO: NULL
          TIME_MS: 2267422980
        ROWS_SENT: 0
    ROWS_EXAMINED: 0
    3 rows in set (0.01 sec)
    
    ERROR: 
    No query specified
    
    Mon Dec 28 15:35:01 2020

    二:开启GTID后的dump线程命令:Binlog Dump GTID

    root@hhh(information_schema) > select * from processlist where command='Binlog Dump GTID'G;
    *************************** 1. row ***************************
               ID: 41855
             USER: sync
             HOST: rrr:39711
               DB: NULL
          COMMAND: Binlog Dump GTID
             TIME: 452134
            STATE: Master has sent all binlog to slave; waiting for more updates
             INFO: NULL
          TIME_MS: 452134692
        ROWS_SENT: 0
    ROWS_EXAMINED: 0
    *************************** 2. row ***************************
               ID: 41868
             USER: sync
             HOST: ggg:21249
               DB: NULL
          COMMAND: Binlog Dump GTID
             TIME: 452100
            STATE: Master has sent all binlog to slave; waiting for more updates
             INFO: NULL
          TIME_MS: 452099972
        ROWS_SENT: 0
    ROWS_EXAMINED: 0
    6 rows in set (0.00 sec)
    
    ERROR: 
    No query specified

    ######################################

  • 相关阅读:
    java--键盘事件类,按下回车则模拟鼠标
    java记录之数据库操作编写程序实现用户登录、注册、修改密码
    Java记录之简易记事本
    java记录之Date的使用
    java常用实用类的使用
    java组件练习之复数计算器和下拉框联动
    Java记录参数传递和split
    Java记录--简单的继承
    JVM调优
    linux学习1-------------环境部署搭建
  • 原文地址:https://www.cnblogs.com/igoodful/p/14201943.html
Copyright © 2011-2022 走看看