MySQL从属复制在主数据增长之后的秒数?

我使用innobackupexRead_Master_Log_Pos启动了一个MySQL从站,而Relay_Log_Pos :正在更新,但是主站之后的秒数不断增加(现在是Seconds_Behind_Master:496637并且正在增加)。

有想法该怎么解决这个吗?

 mysql> SHOW SLAVE STATUS\G *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host: 10.8.25.111 Master_User: repl Master_Port: 3306 Connect_Retry: 60 Master_Log_File: mysql-bin.005021 Read_Master_Log_Pos: 279162266 Relay_Log_File: mysql-relay-bin.000004 Relay_Log_Pos: 378939436 Relay_Master_Log_File: mysql-bin.004997 Slave_IO_Running: Yes Slave_SQL_Running: Yes 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: 378939290 Relay_Log_Space: 26048998487 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: 497714 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: 1 1 row in set (0.00 sec) 

特别要注意Slave_IO_Running: NoSlave_SQL_Running: No

我怀疑你的奴隶SQL没有运行,你的奴隶IO是。 如果您在Last_SQL_Error:有某些Last_SQL_Error: ,则需要在继续之前修复该错误。 如何处理每个不同的可能的错误的具体细节可能是单独的一个完整的问题。 也许在DBA.SE上

如果没有错误或者修复了错误,请执行START SLAVE; 并观察SHOW SLAVE STATUS\G的输出,直到出现另一个错误或从机发现。