SHOW DRAINER STATUS
W
y
T
O
The SHOW DRAINER STATUS
statement displays the status information for all Drainer nodes in the cluster.
Examples
SHOW DRAINER STATUS;
+----------|----------------|--------|--------------------|---------------------|
| NodeID | Address | State | Max_Commit_Ts | Update_Time |
+----------|----------------|--------|--------------------|---------------------|
| drainer1 | 127.0.0.3:8249 | Online | 408553768673342532 | 2019-05-01 00:00:03 |
+----------|----------------|--------|--------------------|---------------------|
| drainer2 | 127.0.0.4:8249 | Online | 408553768673345531 | 2019-05-01 00:00:04 |
+----------|----------------|--------|--------------------|---------------------|
2 rows in set (0.00 sec)
MySQL compatibility
This statement is a TiDB extension to MySQL syntax.
See also
SHOW DRAINER STATUSwas last updated 9/10/2024, 9:46:54 AM: *: update TiDB product names for non-cloud-console content (#18744) (#18873)