Monitoring queuing in a default adaptive workload manager environment
Monitor your queries to better understand queuing behavior and resource consumption.
Queries are queued whenever the resource demands of the current workload exceed the configured resource capacity of the database server. Queuing is expected and by itself is not indicative of a problem or error. However, some applications or queries can cause unexpected queuing that results in unnecessary delays. For example, a long-running query that consumes close to 100% of database resources might block other incoming queries. You can use monitor elements exposed through table functions to better understand queuing behavior and identify which queries consume the most resources. If necessary, you can use the FORCE APPLICATION command to cancel a problematic query by terminating the application that submitted it.
CALL WLM_SET_CLIENT_INFO(null,null,null,null,'SYSDEFAULTADMWORKLOAD')
CALL WLM_SET_CLIENT_INFO(null,null,null,null,null)