A system-wide unique ID for the application. On a single-partitioned database, this identifier consists of a 16-bit counter. On a multi-partitioned database, this identifier consists of the coordinating partition number concatenated with a 16-bit counter. In addition, this identifier is the same on every partition where the application may make a secondary connection.
Table Function | Monitor Element Collection Level |
---|---|
MON_GET_CONNECTION table function - Get connection metrics | Always collected |
MON_GET_CONNECTION_DETAILS table function - Get detailed connection metrics (reported in DETAILS XML document) | Always collected |
MON_GET_UNIT_OF_WORK table function - Get unit of work metrics | Always collected |
MON_GET_UNIT_OF_WORK_DETAILS table function - Get detailed unit of work metrics (reported in DETAILS XML document) | Always collected |
MON_GET_ACTIVITY_DETAILS table function - Get complete activity details (reported in DETAILS XML document) | Always collected |
MON_GET_LOCKS table function - list all locks in the currently connected database | Always collected |
MON_GET_MEMORY_POOL - Get memory pool information | Always collected |
Snapshot Level | Logical Data Grouping | Monitor Switch |
---|---|---|
Application | appl_id_info | Basic |
Lock | appl_lock_list | Basic |
DCS Application | dcs_appl_info | Basic |
Transaction | event_xact | - |
Event Type | Logical Data Grouping | Monitor Switch |
---|---|---|
Locking | - | - |
Unit of work | - | - |
Connections | event_connheader | - |
Statements | event_stmt | - |
Statements | event_subsection | - |
Deadlocks1 | event_dlconn | - |
Deadlocks with Details1 | event_detailed_dlconn | - |
Threshold violations | event_thresholdviolations | - |
Activities | event_activity | - |
The application handle, also known as the agent ID, can be used to uniquely identify an active application.
This value can be used as input to GET SNAPSHOT commands that require an agent ID or to the monitor table functions that require an application handle.
When reading event traces, it can be used to match event records with a given application.
It can also be used as input to the FORCE APPLICATION command or API. On multi-node systems this command can be issued from any node where the application has a connection. Its effect is global.