Skip to main content
This article describes how to view running queries in the database and analyze their resource consumption.

current_queries

show proc '/current_queries' allows you to view the queries running on the current FE node, including the following information: Example:

global_current_queries

Similar to current_queries, show proc '/global_current_queries' shows information about queries running on all FE nodes. This command is supported since version 3.4. Example:

running queries

SHOW RUNNING QUERIES is mainly used to view the Query Queue status. If a query is in the queue, it will be in a PENDING state. Example: