STATEMENT_WLMSTAT_COMPLEX_RUNTIME
STATEMENT_WLMSTAT_COMPLEX_RUNTIME displays load management information about ongoing jobs executed by the current user.
Table 1 STATEMENT_WLMSTAT_COMPLEX_RUNTIME columns
| Name | Type | Description | 
|---|
| datid | oid | OID of the database that the backend is connected to | 
| datname | name | Name of the database that the backend is connected to | 
| threadid | bigint | Thread ID of the backend | 
| processid | integer | Process ID of the backend | 
| usesysid | oid | OID of the user logged in to the backend | 
| appname | text | Name of the application connected to the backend | 
| usename | name | Name of the user logged in to the backend | 
| priority | bigint | Priority of Cgroup where the statement is located | 
| attribute | text | Attributes of the statement: Ordinary: default attribute of a statement before it is parsed by the databaseSimple: simple statementComplicated: complicated statementInternal: internal statement of the database
 | 
| block_time | bigint | Pending duration of the statement by now (unit: s) | 
| elapsed_time | bigint | Actual execution duration of the statement by now (unit: s) | 
| total_cpu_time | bigint | Total CPU usage duration of the statement on the database nodes in the last period (unit: s) | 
| cpu_skew_percent | integer | CPU usage skew percentage of the statement on the database nodes in the last period | 
| statement_mem | integer | statement_mem used for executing the statement (reserved column) | 
| active_points | integer | Number of concurrently active points occupied by the statement in the resource pool | 
| dop_value | integer | DOP value obtained by the statement from the resource pool | 
| control_group | text | Unsupported currently | 
| status | text | Unsupported currently | 
| enqueue | text | Queuing status of the statement, including: Global: queuing in the global queueRespool: queuing in the resource pool queueCentralQueue: queuing on the CCNTransaction: being in a transaction blockStoredProc: being in a stored procedureNone: not in the queueForced None: being forcibly executed (transaction block statement or stored procedure statement are) because the statement waiting time exceeds the specified value
 | 
| resource_pool | name | Current resource pool where the statements are located | 
| query | text | Latest query at the backend. If state is active, this column shows the ongoing query. In all other states, it shows the last query that was executed | 
| is_plana | boolean | Whether a statement occupies the resources of other logical openGauss in logical openGauss mode. The default value is f (does not occupy resources) | 
| node_group | text | Logical openGauss of the user running the statement | 
openGauss 2025-10-31 07:42:18