Skip to main contentIBM dmctop Wiki

Throughput / Workload Assignment

Purpose

Work assignment view shows what workload each connection is mapped to, and the client info fields. This is useful for debugging connections that are not being mapped as expected. This view also shows some WLM specific metrics related to connections.

The primary fields shown are the application handle (identifies the connection), the workload it is currently mapped to and the connection attributes (aka client info fields) for the connection.

Screenshot

image

Metrics Shown


Application handle

A system-wide unique ID for the application.


Event state

State of the event last processed by this agent. The possible values are as follows:

  • EXECUTING
  • IDLE

Source: MON_GET_AGENT(NULL,NULL,NULL,#MEMBER#).EVENT_STATE


Event type

Type of event last processed by this agent. The possible values are as follows:

  • ACQUIRE
  • PROCESS
  • WAIT

Source: MON_GET_AGENT(NULL,NULL,NULL,#MEMBER#).EVENT_TYPE


Event object

Object of the event last processed by this agent. The possible values are as follows:

  • COMPRESSION_DICTIONARY_BUILD
  • IMPLICIT_REBIND
  • INDEX_RECREATE
  • LOCK
  • LOCK_ESCALATION
  • QP_QUEUE
  • REMOTE_REQUEST
  • REQUEST
  • ROUTINE
  • WLM_QUEUE

Source: MON_GET_AGENT(NULL,NULL,NULL,#MEMBER#).EVENT_OBJECT


Workload name

Name of the workload.


User ID

The system authorization id for the connection.


Session user ID

The current authorization ID for the session being used by this application.


Client workstation

Client workstation name


Client accounting string

The data passed to the target database for logging and diagnostic purposes.


Client user ID

Current value of the CLIENT_USERID special register for this workload occurrence.


Client application name

Identifies the server transaction program performing the transaction.


Role ID

All rolename’s where the GRANTEE matches WLM_GET_SERVICE_CLASS_WORKLOAD_OCCURRENCES.SYSTEM_AUTH_ID and present them as a comma separated list.

Source:


Group ID

The group for the connection.


Activities completed

The total number of coordinator activities that completed successfully.

Source: MON_GET_CONNECTION(NULL, #MEMBER#, 1).SUM(ACT_COMPLETED_TOTAL)


Wlm queue assignment

The total number of times that activities or connections have been queued by a WLM threshold.

Source: MON_GET_CONNECTION(NULL, #MEMBER#, 1).SUM(WLM_QUEUE_ASSIGNMENTS_TOTAL)


Threshold violations

The total number of times a threshold was violated.

Source: MON_GET_CONNECTION(NULL, #MEMBER#, 1).SUM(THRESH_VIOLATIONS)


Activities aborted

The total number of coordinator activities that completed with errors.

Source: MON_GET_CONNECTION(NULL, #MEMBER#, 1).SUM(ACT_ABORTED_TOTAL)


Activities rejected

The total number of coordinator activities that were rejected instead of being allowed to execute.

Source: MON_GET_CONNECTION(NULL, #MEMBER#, 1).SUM(ACT_REJECTED_TOTAL)


Recent sql

It takes long time to get all the sql text, so it only returns - currently.


Address

The IP address from which the activity connection was initiated.


Internal application

Indicates whether the application is a system application.

SELECT CASE
WHEN IS_SYSTEM_APPL = 0 THEN VARCHAR('NO', 3)
ELSE VARCHAR('YES', 3)
END AS INTERNAL_APPL
FROM TABLE(MON_GET_AGENT(NULL,NULL,NULL,#MEMBER#)

Source: MON_GET_AGENT(NULL,NULL,NULL,#MEMBER#).IS_SYSTEM_APPL


Coordinator member

Coordinating member for an application.


Connection start time

The time at which the connection was established with the database server.

Source: MON_GET_CONNECTION(NULL, #MEMBER#, 1).MIN(CONNECTION_START_TIME)