Use the Thread SQL Counts attributes to create situations to monitor the SQL DCL (Data Control Language) declarations, SQL DDL (Data Definition Language) statements, and SQL DML (Data Manipulation Language) statements, associated with a thread.
Abort The number of times the thread has rolled back uncommitted data (field name QWACCOMM)
AGNT ASID The address space ID (ASID) of the agent.
Allocate Cursor The number of SQL ALLOCATE CURSOR statements executed (field name: QXALOCC).
Alter Database The number of ALTER DATABASE statements executed (field name: QXALDAB).
Alter Function The number of ALTER FUNCTION statements executed (field name: QXALUDF).
Alter Index The number of ALTER INDEX statements executed (field name: QXALTIX).
Alter Procedure The number of ALTER PROCEDURE statements executed (field name: QXALPRO).
Alter Stogroup The number of ALTER STOGROUP statements executed (field name: QXALTST).
Alter Table The number of ALTER TABLE statements executed (field name: QXALTTA).
Alter Tablespace The number of ALTER TABLESPACE statements executed (field name: QXALTTS).
Alter Trusted Context The number of alter trusted context statements executed (field name QXALTCTX) - not supported prior to DB2 V9.
Associate Locator The number of SQL ASSOCIATE LOCATORS statements executed (field name: QXALOCL).
Authorization ID The primary authorization ID from connection or sign-on that identifies the execution privileges an application has to a DB2 object or service. Valid format is alphanumeric with a maximum of 8 characters.
Authorization ID (Unicode) The primary authorization ID from connection or sign-on that identifies the execution privileges an application has to a DB2 object or service. Valid format is alphanumeric with a maximum of 128 characters.
Close Cursor The number of CLOSE statements executed. This number at the server location might not match the user application because of DDF's internal processing (field name: QXCLOSE).
Collection ID (Unicode) The collection ID. This field is blank for DBRM. Valid format is alphanumeric with a maximum of 128 characters.
Comment On The number of COMMENT ON statements executed (field name: QXCMTON).
Commit The number of times the thread successfully concluded commit phase 2 processing (field name QWACABRT).
Connect (Type 1) The number of CONNECT type 1 statements executed (field name: QXCON1).
Connect (Type 2) The number of CONNECT type 2 statements executed (field name: QXCON2).
Connection ID Identifies the connection of an application to a DB2 system.
Connection Type The type of DB2 connection.
Correlation ID The correlation between an application and the connection to a DB2 system. Valid format is alphanumeric, with a maximum of 12 characters; for example DLKEX212.
Create Alias The number of CREATE ALIAS statements executed (field name: QXCRALS).
Create Database The number of CREATE DATABASE statements executed (field name: QXCRDAB).
Create Distinct Type The number of CREATE DISTINCT TYPE statements executed (field name: QXCDIST).
Create Function The number of CREATE FUNCTION statements executed (field name: QXCRUDF).
Create Global Temp Table The number of CREATE GLOBAL TEMPORARY TABLE statements executed (field name: QXCRGTT).
Create Index The number of CREATE INDEX statements executed (field name: QXCRINX).
Create Procedure The number of CREATE PROCEDURE statements executed (field name: QXCRPRO).
Create Role The number of CREATE ROLE statements executed (field name QXCRROL) - not supported prior to DB2 V9.
Create Stogroup The number of CREATE STOGROUP statements executed (field name: QXCRSTG).
Create Synonym The number of CREATE SYNONYM statements executed (field name: QXCRSYN).
Create Table The number of CREATE TABLE statements executed (field name: QXCRTAB).
Create Tablespace The number of CREATE TABLESPACE statements executed (field name: QXCTABS).
Create Trigger The number of CREATE TRIGGER statements executed (field name: QXCTRIG).
Create Trusted Context The number of create trusted context statements executed (field name QXCRCTX) - not supported prior to DB2 V9.
Create View The number of CREATE VIEW statements executed (field name: QXDEFVU).
Delete The number of DELETE statements executed (field name: QXDELET).
Describe The number of DESCRIBE, DESCRIBE CURSOR, DESCRIBE INPUT, and DESCRIBE PROCEDURE statements executed. This number at the server location might not match the user application because of DDF's internal processing (field name: QXDESC).
Describe Table The number of DESCRIBE TABLE statements executed (field name: QXDSCRTB).
Description The description of the monitored activity.
Drop Alias The number of SQL DROP ALIAS statements executed (field name: QXDRPAL).
Drop Database The number of DROP DATABASE statements executed (field name: QXDRPDB).
Drop Distinct Type The number of DROP DISTINCT TYPE statements executed (field name: QXDDIST).
Drop Function The number of DROP FUNCTION statements executed (field name: QXDRPFN).
Drop Index The number of DROP INDEX statements executed (field name: QXDRPIX).
Drop Package The number of SQL DROP PACKAGE statements executed (field name: QXDRPPKG).
Drop Procedure The number of DROP PROCEDURE statements executed (field name: QXDRPPR).
Drop Role The number of DROP ROLE statements executed (field name QXDRPROL) - not supported prior to DB2 V9.
Drop Stogroup The number of DROP STOGROUP statements executed (field name: QXDRPST).
Drop Synonym The number of DROP SYNONYM statements executed (field name: QXDRPSY).
Drop Table The number of DROP TABLE statements executed (field name: QXDRPTA).
Drop Tablespace The number of DROP TABLESPACE statements executed (field name: QXDRPTS).
Drop Trigger The number of DROP TRIGGER statements executed (field name: QXDRPTR).
Drop Trusted Context The number of drop trusted context statements executed (field name QXDRPCTX) - not supported prior to DB2 V9.
Drop View The number of DROP VIEW statements executed (field name: QXDRPVU).
End User ID The user ID of the workstation end user. This user ID can be different from the authorization ID used to connect to DB2. This field contains blanks if the client does not supply this information (field name: QWHCEUID).
Fetch The number of FETCH statements executed. This number at the server location might not match the user application because of DDF's internal processing (field name: QXFETCH).
Grant The number of GRANT statements executed (field name: QXGRANT).
Incremental Bind The number of incremental binds (excluding prepare) (field name: QXINCRB).
Insert The number of INSERT statements executed (field name: QXINSRT).
Interval Start The date and time, as set on the monitored system, indicating the instance when the agent collects information.
Job Name The job name that is associated with a thread.
Label On The number of LABEL ON statements executed (field name: QXLABON).
Lock Table The number of LOCK TABLE statements executed (field name: QXLOCK).
Merge The number of MERGE statements executed (field name QXMERGE) - not supported prior to DB2 V9.
Open Cursor The number of OPEN statements executed (field name: QXOPEN).
Originating System ID The node name of the DB2 system. Valid entry is an alphanumeric text string, with a maximum length of 32 characters.
Package DBRM (Unicode) The package name of the database request module (DBRM) with which a thread is associated. Valid format is alphanumeric with a maximum of 128 characters.
Plan Name The name of an application plan that DB2 produces during the bind process and uses for processing SQL statements during execution. Valid format is alphanumeric, with a maximum of 8 characters. For example, PLANLCK2 is the name of an application plan. *SYSTEM* indicates DB2 subsystem-generated threads that own or are waiting on a lock.
Prepare The number of PREPARE statements executed. This number at the server location might not match the user application because of DDF's internal processing (field name: QXPREP).
Release The number of RELEASE statements executed (field name: QXREL).
Rename Index The number of RENAME INDEX statements executed (field name QXRNIX) - not supported prior to DB2 V9.
Rename Table The number of RENAME TABLE statements executed (field name: QXRNTAB).
Revoke The number of REVOKE statements executed (field name: QXREVOK).
Select The number of SQL SELECT statements executed (field name: QXSELECT).
Set Connection The number of SET CONNECTION statements executed (field name: QXSETCON).
Set Current Degree The number of SET CURRENT DEGREE statements executed (field name: QXSETCDG).
Set Current Path The number of SET CURRENT PATH statements executed (field name: QXSETPTH).
Set Current Rules The number of SET CURRENT RULES statements executed (field name: QXSETCRL).
Set Current SQLID The number of SET CURRENT SQLID statements executed (field name: QXSETSQL).
Set Host Variable The number of SET HOST VARIABLE statements executed. The special register that was retrieved is not tracked (field name: QXSETHV).
Total The total count executed by the thread.
Update The number of UPDATE statements executed (field name: QXUPDTE).