zoukankan      html  css  js  c++  java
  • SHOW SLAVE STATUS几个常见参数


    --显示当前读取的Master节点二进制日志文件和文件位置,对应线程I/O thread Master_Log_File: mysql-bin.000011 Read_Master_Log_Pos: 120 --显示当前Slave节点正在处理的中继日志文件和位置,对应线程 SQL thread Relay_Log_File: relay-bin.000002 Relay_Log_Pos: 283 --显示当前Slave节点应用的日志 在master节点中对应的位置。
    --官方文档:The coordinates given by (Relay_Master_Log_File, Exec_Master_Log_Pos) in the master's binary log correspond to the coordinates given by (Relay_Log_File, Relay_Log_Pos) in the relay log
     Relay_Master_Log_File: mysql-bin.000011
    Exec_Master_Log_Pos: 120
      
     从字面意思看, (Relay_Master_Log_File, Exec_Master_Log_Pos)和(Relay_Log_File,Relay_Log_Pos)是对应的,它们表示的是Slave中的SQL进程中正在执行的语句的位置,表明的
    是Slave和Master之间的同步状态。当Slave中Relay_Master_Log_File和Master_Log_File相同且Read_Master_Log_Pos和Exec_Master_Log_Pos完全相同时,表明Slave和Master处于完全同步的状态
  • 相关阅读:
    集合
    第五天
    第四天
    第二天
    ieee 期刊缩写(转载)
    JAVA学习笔记03
    JAVA学习笔记2
    JAVA学习笔记01
    Latex 图片排版
    非奇异终端滑模
  • 原文地址:https://www.cnblogs.com/polestar/p/5807564.html
Copyright © 2011-2022 走看看