Skip to main content
SHOW PROC shows certain indicators of the cluster. SHOW PROC is equivalent to the the /proc filesystem in Linux. Similar to the paths in /proc, the parameters in SHOW PROC have a tree-like hierarchical structure, and each layer displays different information. Take SHOW PROC '/dbs' as an example:
  • SHOW PROC '/dbs' will return the information of all databases in the cluster.
  • SHOW PROC '/dbs/<db_name>' will return the information of the specified database.
  • SHOW PROC '/dbs/<db_name>/tables' will return the information of all tables in the specified database.
  • SHOW PROC '/dbs/<db_name>/<table_name>' will return the information of the specified table.
  • SHOW PROC '/dbs/<db_name>/<table_name>/partitions' will return the information of all partitions in the specified table.
It can be specified all the way to the leaf node. Tip This operation requires the SYSTEM-level OPERATE privilege. You can follow the instructions in GRANT to grant this privilege.

Syntax

Parameters

Examples

Example 1: Shows the information of BE nodes in the cluster.
Example 2: Shows the information of databases in the cluster.
Example 3: Shows the information of jobs in the cluster.
Example 4: Shows the statistics of each database in the cluster.
Example 5: Shows the total number of all generic tasks and the failed tasks in the cluster.
Example 6: Shows the information of FE nodes in the cluster.
Example 7: Shows the information of Broker nodes in the cluster.
Example 8: Shows the information of resources in the cluster.
Example 9: Shows the information of transactions in the cluster.
Example 10: Shows the monitoring information in the cluster.
Example 11: Shows the load balance information in the cluster.
Example 12: Shows the information of Colocate Join groups in the cluster.
Example 13: Shows the information of catalogs in the cluster.
Example 14: Shows the information of replication tasks in the cluster.
Example 15: Shows the information of running queries on the current FE node.
Example 16: Shows the information of running queries on all FE nodes in the cluster.