WORKLOAD_MANAGEMENT_QUEUE

This system table shows the current list of queries for which the Workload Management system cannot reserve resources for an execution and therefore has put them into the waiting queue.

It provides a detailed explanation of which resource is lacking (required > (limit - used)), and therefore why the query is queued.

Column Name

Descriptiom

QUERY

Text of query

START_TIME

The  time when the query was submitted for execution

THREADS_PER_LEAF

How many system threads are required for the query execution

THREADS_PER_LEAF_LIMIT

Total number of threads allowed at the time of query submission

THREADS_PER_LEAF_USED

Total number of used threads at the time of query submission

CONNECTIONS_PER_LEAF

How many system connections are required for the query execution

CONNECTIONS_PER_LEAF_LIMIT

Total number of connections allowed at the time of query submission

CONNECTIONS_PER_LEAF_USED

Total number of used connections at the time of query submission

LEAF_MEMORY

How much memory (in MB) is required for the query execution

LEAF_MEMORY_LIMIT

Total amount of memory allowed at the time of query submission

LEAF_MEMORY_USED

Total amount of used memory at the time of query submission

QUERY_TYPE

Medium,  Large (Small queries are never queued)

MEMORY_TYPE

Small, Medium, Large

Last modified: April 28, 2023

Was this article helpful?