Skip to main content
SHOW PROCESSLIST lists the operations currently being performed by threads executing within the server. The current version of the database only supports listing queries. Tip This operation does not require privileges.

Syntax

Parameter

Return

Usage note

If the current user is root, this statement lists the operations of all users in the cluster. Otherwise, only operations of the current user are listed. The IsPending, Warehouse, and CNGroup fields provide additional information about query execution in warehouse environments:
  • IsPending: Shows whether a query is waiting in the queue (true) or actively executing (false)
  • Warehouse: Displays the warehouse name where the query is being executed
  • CNGroup: Shows the compute node group name responsible for executing the query

Example

Example 1: lists the operations state via the user root.