Previous Topic: SQL_STATUS_CURRENT (SQC)Next Topic: SQL_STATUS_PLAN (SQP)


Process Types (PROC_TYPE) Description

The processes that can generate a row are:

Binding

In the SQL_STATUS_CURRENT table, PROC_TYPE shows the following for bind processes:

BIND IN PROGRESS
BIND: GET HOST VARIABLE INFO (QHOST)
AUTO VIEW REBIND
CONSTRAINT REBIND IN PROGRESS

In the SQL_STATUS_CURRENT table, ROWS_OUT is zero for the preceding processes.

DDL Execution

Tasks executing DDL statements generate a single row. In the SQL_STATUS_CURRENT table, STMT_TYPE indicates the type of statement being executed.

Record-at-a-Time Constraint Enforcement

A task enforcing constraints for record-at-a-time ADDIT, UPDAT, or DELET commands generates a row with a PROC_TYPE (in the SQL_STATUS_CURRENT table) of ENFORCE CONSTRAINTS, while CMD_TYPE in the same table indicates which command is being constrained.

DML Execution (Query Level)

The following rows may appear for cursor open and fetch, and searched insert, update and delete statements. The processes are listed in order of execution. The PROC_TYPE column (in the SQL_STATUS_CURRENT table) indicates the kind of activity, while ROWS_OUT in the same table indicates the number of rows output by the process.

If the process has not taken place yet, ROWS_OUT is zero. For some processes, ROWS_OUT is set while the process is taking place, and in other cases ROWS_OUT is only set at the end of the process.

Some processes can be executed multiple times. EXEC_CNT indicates how many times the process has taken place, including processes in-flight at the time of your request. In these cases, ROWS_OUT is the total for all executions.

DML Execution (Statement Level)

ROWS_OUT for the following process types are for the final result at the statement level. Query-level columns are not significant.

LUW Summary (Diagnostic Activity)

LUW summary rows have process steps 9900 and higher. Plan and statement level columns are not significant.

Writing SYSADM.SYSMSG and Statistics and Diagnostics Area (PXX) diagnostic information can cause a job to run slowly when triggered by:

Diagnostic activity is shown in process steps and types:

Note: ROWS_OUT for the CBS Diagnostic Report is an estimate.

PXX return code dumps are not included.

LUW Summary (Non-Diagnostic Activity)

The total requests to MUF for the LUW is indicated in process step 9999, process type REQUESTS TO SQL SUBSYSTEM in column ROWS_OUT.