SHOW SLAVE STATUS解读

*************************** 1. row ***************************
               Slave_IO_State:
                  Master_Host: 192.168.15.15
                  Master_User: replication
                  Master_Port: 3306
                Connect_Retry: 60
              Master_Log_File: mysql-bin.007999   # I/O线程当前正在读取的主服务器二进制日志文件的名称
          Read_Master_Log_Pos: 159953205          # 在当前的主服务器二进制日志中,I/O线程已经读取的位置
               Relay_Log_File: relay-bin.025164   # SQL线程当前正在读取和执行的中继日志文件的名称
                Relay_Log_Pos: 155515215          # 在当前的中继日志中,SQL线程已读取和执行的位置
        Relay_Master_Log_File: mysql-bin.007987   # 由SQL线程执行的包含多数近期事件的主服务器二进制日志文件的名称
             Slave_IO_Running: No
            Slave_SQL_Running: No
              Replicate_Do_DB:
          Replicate_Ignore_DB:
           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: 457837833           # 来自主服务器的二进制日志的由SQL线程执行的上一个时间的位置(Relay_Master_Log_File),
                                                   # 在主服务器的二进制日志中的(Relay_Master_Log_File, Exec_Master_Log_Pos)
                                                   # 对应于在中继日志中的(Relay_Log_File,Relay_Log_Pos)
              Relay_Log_Space: 6602423442
              Until_Condition: None
               Until_Log_File:
                Until_Log_Pos: 0
           Master_SSL_Allowed: No
           Master_SSL_CA_File:
           Master_SSL_CA_Path:
              Master_SSL_Cert:
            Master_SSL_Cipher:
               Master_SSL_Key:
        Seconds_Behind_Master: 0                   # 落后主库的秒数
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: 7873

原文地址:https://www.cnblogs.com/wangdong/p/9254352.html