Entering content frame

Background documentation Applications: Statement Text (DB2 UDB for UNIX and Windows) Locate the document in its SAP Library structure

To display information on the current SQL statements for your selected application(s), call the DBA Cockpit.

...

       1.      In the navigation frame, choose Performance ® Applications.

The Application Snapshot screen appears.

       2.      To display more detailed information, select one or more applications and choose This graphic is explained in the accompanying text Details.

A detail Application Snapshot screen appears.

       3.      Choose Statement Text..

If you have selected more than one application, you can use the page buttons on the screen to navigate between them.

 

Field

Description

Statement

 

Type

Type of statement processed.

Possible types are:

·        Static SQL statement

·        Dynamic SQL statement

·        An operation other than an SQL statement, for example a bind or precompile operation.

Operation

Operation currently being processed or most recently processed (if none is currently running).

Possible operations are:

·        SELECT

·        PREPARE

·        EXECUTE

·        EXECUTE IMMEDIATE

·        OPEN

·        FETCH

·        CLOSE

·        DESCRIBE

·        STATIC COMMIT

·        STATIC ROLLBACK

·        FREE LOCATOR

·        PREP_COMMIT

·        CALL

·        PREP_OPEN

·        PREP_EXEC

·        COMPILE

Blocking Cursor

Indicates if the statement that is executed is using a blocking cursor (YES) or not (NO). If data is transferred in blocks and not row by row, the performance of the corresponding query will be improved.

Statement

Text of dynamic SQL statement that was being processed when the snapshot was taken. It can also be the text of the statement that was most recently processed, if no statement was being processed at the time when the snapshot was taken.

If a statement is displayed, you can choose This graphic is explained in the accompanying text EXPLAIN to list the access plan for the statement execution. This function provides a detailed analysis of expensive SQL statements.

Note

RFC-monitored systems only:

To display the ABAP source program where the statement was defined, choose This graphic is explained in the accompanying text Source. An editor screen appears, which contains the related source.

See also:

·        The EXPLAIN Function

·        IBM documentation: Administration Guide: Chapter 26, SQL Explain Facility

Leaving content frame