Documentation Home
MySQL Performance Schema
Related Documentation Download this Excerpt
PDF (US Ltr) - 0.9Mb
PDF (A4) - 0.9Mb
HTML Download (TGZ) - 140.6Kb
HTML Download (Zip) - 162.7Kb

MySQL Performance Schema  /  ...  /  The replication_connection_status Table

10.11.2 The replication_connection_status Table

This table shows the current status of the I/O thread that handles the slave server connection to the master server.

Compared to the replication_connection_configuration table, replication_connection_status changes more frequently. It contains values that change during the connection, whereas replication_connection_configuration contains values which define how the slave connects to the master and that remain constant during the connection.

The replication_connection_status table has these columns:


    The replication channel which this row is displaying. There is always a default replication channel, and more replication channels can be added. See Replication Channels for more information.


    If this server is a member of a group, shows the name of the group the server belongs to.


    The server_uuid value from the master.


    The I/O thread ID.


    ON (thread exists and is active or idle), OFF (thread no longer exists), or CONNECTING (thread exists and is connecting to the master).


    The set of global transaction IDs (GTIDs) corresponding to all transactions received by this slave. Empty if GTIDs are not in use. See GTID Sets for more information.


    The error number and error message of the most recent error that caused the I/O thread to stop. An error number of 0 and message of the empty string mean no error. If the LAST_ERROR_MESSAGE value is not empty, the error values also appear in the slave's error log.

    Issuing RESET MASTER or RESET SLAVE resets the values shown in these columns.


    A timestamp in YYMMDD HH:MM:SS format that shows when the most recent I/O error took place.


    A timestamp in YYMMDD HH:MM:SS format that shows when the most recent heartbeat signal was received by a replication slave.


    The total number of heartbeat signals that a replication slave received since the last time it was restarted or reset, or a CHANGE MASTER TO statement was issued.

TRUNCATE TABLE is not permitted for the replication_connection_status table.

The following table shows the correspondence between replication_connection_status columns and SHOW SLAVE STATUS columns.

replication_connection_status ColumnSHOW SLAVE STATUS Column

User Comments
Sign Up Login You must be logged in to post a comment.