SHOW PUMP STATUS

The SHOW PUMP STATUS statement displays the status information for all Pump nodes in the cluster.

SHOW PUMP STATUS - 图1

Note

This feature is only applicable to TiDB Self-Hosted and not available on TiDB Cloud.

Examples

  1. SHOW PUMP STATUS;
  1. +--------|----------------|--------|--------------------|---------------------|
  2. | NodeID | Address | State | Max_Commit_Ts | Update_Time |
  3. +--------|----------------|--------|--------------------|---------------------|
  4. | pump1 | 127.0.0.1:8250 | Online | 408553768673342237 | 2019-05-01 00:00:01 |
  5. +--------|----------------|--------|--------------------|---------------------|
  6. | pump2 | 127.0.0.2:8250 | Online | 408553768673342335 | 2019-05-01 00:00:02 |
  7. +--------|----------------|--------|--------------------|---------------------|
  8. 2 rows in set (0.00 sec)

MySQL compatibility

This statement is a TiDB extension to MySQL syntax.

See also