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

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

  • 相关阅读:
    网络基础复习02
    网络基础复习01
    python 基础复习之数据库02
    python 基础复习之数据库01
    python 基础复习 13
    python基础复习 12
    python基础复习 11
    python基础复习10
    列表切片,内置方法
    文件操作基础流程
  • 原文地址:https://www.cnblogs.com/igoodful/p/14201943.html
Copyright © 2011-2022 走看看