Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.25 KB

sql-statement-show-pump-status.md

File metadata and controls

38 lines (28 loc) · 1.25 KB
title summary aliases
SHOW PUMP STATUS
An overview of the usage of SHOW PUMP STATUS for the TiDB database.
/docs/dev/sql-statements/sql-statement-show-pump-status/

SHOW PUMP STATUS

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

Examples

{{< copyable "sql" >}}

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

MySQL compatibility

This statement is a TiDB extension to MySQL syntax.

See also