Spec-Zone .ru
спецификации, руководства, описания, API
|
SHOW MASTER STATUS
This statement provides status information about the binary log files of the master. It requires either the SUPER
or REPLICATION CLIENT
privilege.
Example:
mysql> SHOW MASTER STATUS\G
*************************** 1. row *************************** File: master-bin.000002 Position: 1307 Binlog_Do_DB: test Binlog_Ignore_DB: manual, mysqlExecuted_Gtid_Set: 3E11FA47-71CA-11E1-9E33-C80AA9429562:1-51 row in set (0.00 sec)
When global transaction IDs are in use, Executed_Gtid_Set
shows the set of GTIDs
for transactions that have been executed on the master. This is the same as the master's value for the global gtid_executed
system variable.