Default language.

SQL activity reports


The reports in this section are sample SQL activity reports. The batch SQL activity reports provide the following reports:

  • A summary report
  • Detail trace reports


Warning

Important

Each of the SQL activity reports has two versions; one version has workload summaries, and one version does not.

The following workload summaries are provided in the workload version of each report:

Type

IFCIDs

Highlights

All IFCIDs listed below

Data capture

188

Exits

11,12,19

IO

6-10

Lock suspend

44, 45, 213-216, 226, 227

Pg/row lock

20, 218

Scan

15-18

RID

125

Parallelism

221

Sort

95, 96

UDF

324

Host vars

247

Summary reports

The summary report supports GROUPBY thread summarization with the standard thread qualifiers, and summarizes SQL activity by package.

The following reports are included:


Report

Title

Sample report

BSQSUMP

Summary SQL by PGM/PKG

BSQSUMPW

Summary SQL by PGM/PKG with workloads

Detail trace reports

The detail trace reports report threads separately and summarize SQL event data at the respective levels.

The following reports are included:


Report

Title

Sample report

BSQTRCP

Thread SQL trace summary by PGM/PKG

BSQTRCPW

Thread SQL trace summary by PGM/PKG with workloads

BSQTRCS

Thread SQL trace summary by PGM/PKG and statement number

BSQTRCSW

Thread SQL trace summary by PGM/PKG and statement number with workloads

BSQTRCT

Thread SQL trace by occurrence—event timestamp

BSQTRCTW

Thread SQL trace by occurrence—event timestamp—with workloads

BSQLIX

SQL create thread index

BSQLLT

SQL long trace

BSQTRCCC

SQL compatibility exception trace by event

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Monitor for Db2 13.1