MON_GET_WLM_ADMISSION_QUEUE table function - Return a list of queued activities
The MON_GET_WLM_ADMISSION_QUEUE function returns a list of all activities in the admission queue and their position in the queue.
MON_GET_WLM_ADMISSION_QUEUE returns all requests in the workload manager (WLM) admission queue,
and their position in each subclass queue.
Note: This function is available in Db2®version 11.5.4 and later.
Authorization
One of the following authorities is required to execute the routine:
- EXECUTE privilege on the routine
- DATAACCESS authority
- DBADM authority
- SQLADM authority
Default PUBLIC privilege
None
Syntax
The schema is SYSPROC.
Routine parameters
None
Information returned
Usage notes
The workload manager admission queue is constantly being reordered based on current resource
usage and demand as queries are executed and admitted. As such the data returned is a point in time
snapshot of the current state of the admission queue does not necessarily reflect the future
execution order. Use this monitor interface to understand which request is currently at the head of
the queue since the head request may block additional work from entering as it is waiting for its
required resources.
Note: If the adaptive workload manager is disabled, no data is
returned.