1. Main Library IO thread Status Description:
<1>sending Binlog event to Slave
The thread has read an event from the binary log that is being sent to the slave server.
<2>finished reading one binlog;switching to next binlog.
The thread has finished reading the binary log file and is opening the next binary log file to be sent to the slave server.
<3>has sent all binlog to slave; Waitting for Binlog to be updated
The thread has read all the major updates from the binary log and has been sent to the slave server. The thread is now idle, waiting for new events to appear in the binary log caused by new updates on the primary server .
<4>waitting to finalize termination.
The state that occurs when a thread stops.
2 . Description of the status from the library IO thread:
<1>connecting to master;
<2>checking Master Version
A status that occurs immediately after establishing a connection with master.
<3>registering slave on Master;
A status that occurs immediately after establishing a connection with master.
<4>requesting Binlog Dump
A status that occurs immediately after establishing a connection with master.
<5>waiting to reconnect after a failed Binlog dump request.
If the binary log dump request fails (because there is no connection), the thread goes to sleep and then periodically tries to reconnect. You can Specify the retry interval using--master-connect-retry.
<6>reconnecting after a failed binlog dump request.
<7>waitting for Master to send Binlog.
<8>queueing Master event to the relay log.
<9>waitting to reconnect after a failed master event read.
<10>waitting for the Salve SQL thread to free enough relay log space.
<11>waitting for slave mutexes on exit.
State when the thread is stopped.
3. Description of SQL thread status from library:
<1>reading event from the relay log.
<2>hat Read all relay logs, waitting for the slave I/O thread to update it.
<3>waitting for slave mutexes on exit.
State when the thread is stopped.
This article is from "Late Bug" blog, please make sure to keep this source http://9039370.blog.51cto.com/9029370/1685049
View master and slave library replication thread status through the show Processlist command