Time: 5280463 Status: Has sent all binlog to slave; waiting for binlog to be updated
Is it okay that mysql replication process is idle for so long time?
Time: 5280463 Status: Has sent all binlog to slave; waiting for binlog to be updated
Is it okay that mysql replication process is idle for so long time?
This depends on the type of queries. If you are doing only select
statements, there will be no change in the data.
You can check the status of the slave using:
mysql> SHOW SLAVE STATUS;
If you find these two lines:
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
This means that the replication is working fine. Otherwise, it may be broken due to invalid statement found on the slave machine. Check this link.
The only reason I know of for the master to be idle is that there has been no activity to propagate (or at least no activity written to the binary log). Select statements would have no effect, as they are not written to the binary log. Only inserts, updates and deletes would propagate (as well as DDL).
How long is "long"?