) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY RANGE (id) SUBPARTITION BY HASH (id) SUBPARTITIONS 2 (PARTITION pa1 VALUES LESS THAN (10) ENGINE = InnoDB, PARTITION pa2 VALUES LESS THAN (20) ENGINE = InnoDB, PARTITION pa3 VALUES LESS THAN (30) ENGINE = InnoDB, PARTITION pa4 VALUES LESS THAN (40) ENGINE = InnoDB, PARTITION pa5 VALUES LESS THAN (50) ENGINE = InnoDB, PARTITION pa6 VALUES LESS THAN (60) ENGINE = InnoDB, PARTITION pa7 VALUES LESS THAN (70) ENGINE = InnoDB, PARTITION pa8 VALUES LESS THAN (80) ENGINE = InnoDB, PARTITION pa9 VALUES LESS THAN (90) ENGINE = InnoDB, PARTITION pa10 VALUES LESS THAN (100) ENGINE = InnoDB, PARTITION pa11 VALUES LESS THAN MAXVALUE ENGINE = InnoDB) */
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY RANGE (id) SUBPARTITION BY HASH (id) SUBPARTITIONS 2 (PARTITION pa1 VALUES LESS THAN (10) ENGINE = InnoDB, PARTITION pa2 VALUES LESS THAN (20) ENGINE = InnoDB, PARTITION pa3 VALUES LESS THAN (30) ENGINE = InnoDB, PARTITION pa4 VALUES LESS THAN (40) ENGINE = InnoDB, PARTITION pa5 VALUES LESS THAN (50) ENGINE = InnoDB, PARTITION pa6 VALUES LESS THAN (60) ENGINE = InnoDB, PARTITION pa7 VALUES LESS THAN (70) ENGINE = InnoDB, PARTITION pa8 VALUES LESS THAN (80) ENGINE = InnoDB, PARTITION pa9 VALUES LESS THAN (90) ENGINE = InnoDB, PARTITION pa10 VALUES LESS THAN (100) ENGINE = InnoDB, PARTITION pa11 VALUES LESS THAN MAXVALUE ENGINE = InnoDB) */
show slave status;
SHOW SLAVE STATUS;
Slave_IO_State Waiting for master to send event
Slave_IO_State #
Master_Host 127.0.0.1
Master_Host 127.0.0.1
Master_User root
Master_User root
Master_Port MASTER_PORT
Master_Port MASTER_PORT
Connect_Retry 1
Connect_Retry 1
Master_Log_File master-bin.000001
Master_Log_File master-bin.000001
Read_Master_Log_Pos 945470
Read_Master_Log_Pos 945470
Relay_Log_File slave-relay-bin.000003
Relay_Log_File #
Relay_Log_Pos 945616
Relay_Log_Pos #
Relay_Master_Log_File master-bin.000001
Relay_Master_Log_File master-bin.000001
Slave_IO_Running Yes
Slave_IO_Running Yes
Slave_SQL_Running Yes
Slave_SQL_Running Yes
Replicate_Do_DB
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Do_Table
Replicate_Ignore_Table
Replicate_Ignore_Table #
Replicate_Wild_Do_Table
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Errno 0
Last_Error
Last_Error
Skip_Counter 0
Skip_Counter 0
Exec_Master_Log_Pos 945470
Exec_Master_Log_Pos 945470
Relay_Log_Space 945771
Relay_Log_Space #
Until_Condition None
Until_Condition None
Until_Log_File
Until_Log_File
Until_Log_Pos 0
Until_Log_Pos 0
...
@@ -149,8 +149,8 @@ Master_SSL_Cipher
...
@@ -149,8 +149,8 @@ Master_SSL_Cipher
Master_SSL_Key
Master_SSL_Key
Seconds_Behind_Master #
Seconds_Behind_Master #
Master_SSL_Verify_Server_Cert No
Master_SSL_Verify_Server_Cert No
Last_IO_Errno 0
Last_IO_Errno #
Last_IO_Error
Last_IO_Error #
Last_SQL_Errno 0
Last_SQL_Errno 0
Last_SQL_Error
Last_SQL_Error
SELECT count(*) "Slave norm" FROM test.regular_tbl;
SELECT count(*) "Slave norm" FROM test.regular_tbl;