Decision Support for z/OS, Version 1.8.1
You should start the analysis of your DB2 subsystem by determining if you are meeting service-level objectives. The DB2 Application Response Times, Detail report (see Figure 68) shows the average, maximum, and minimum elapsed times for each application.
DB2 Application Response Times, Detail
System: 'MVS1' DB2 ID: 'DB2A'
Date: '1999-11-19' to '2000-03-09'
Elapsed Elapsed Elapsed
Application seconds seconds seconds Commit Abort
name Profile avg max min count count
------------ ----------- ---------- ---------- -------- ------------ ------
P.R. QUERY 9.39 23.27 0.16 13218 18
QMF QUERY 7.83 25.20 0.13 7876 8
SPUFI RR QUERY 4.60 21.14 0.31 73 5
Tivoli Decision Support for z/OS Report: DB201If an application is not receiving the appropriate service level, you must determine why the elapsed time is high. The DB2 Transaction Statistics, Detail report (see Figure 69) shows the response-time components for each DB2 plan.
DB2 Transaction Statistics, Detail
System: 'MVS1' DB2 ID: 'DB2A'
Date: '2000-01-11' to '2000-03-09'
DB2 Lock Service Archive Archive
Elapsed CPU DB2 CPU CPU(SRB) CPU(SRB) IO wait latch wait logwait logread Drain
seconds seconds seconds seconds seconds seconds seconds seconds seconds seconds seconds Commit Abort
DB2 plan avg avg avg avg avg avg avg avg avg avg avg count count
------------------ -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- --------- ------
DB2PM211 0.88 0.006 0.004 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 50983 0
DRLPLAN 21.68 7.332 4.019 0.009 0.000 0.017 0.019 0.000 0.000 0.000 0.000 7098 123
QMF310 12.90 0.680 0.165 0.004 0.000 0.001 0.001 0.000 0.000 0.000 0.000 4227 62
DSNUTIL 0.46 0.028 0.000 0.003 0.000 0.000 0.000 0.000 0.000 0.000 0.000 1391 11
DISTSERV 2128.04 0.647 0.004 1.164 0.002 0.001 0.000 0.000 0.000 0.000 0.000 95 0
DSNESPRR 6.15 0.115 0.002 0.002 0.000 0.000 0.000 0.000 0.000 0.000 0.000 55 4
========= ======
63849 200
Tivoli Decision Support for z/OS Report: DB204To determine what is causing delays for the plan to which the application belongs, examine these columns in the report:
Differences between these CICS or IMS times, and the DB2 accounting times arise mainly because the DB2 times do not include:
Differences can also arise due to thread reuse in CICS or IMS, or through multiple commits in CICS. If the class 1 elapsed time is significantly less than the CICS or IMS time, check reports that show CICS transaction performance or application response times, or IMS transaction performance. For a description of the CICS or IMS reports available through Tivoli Decision Support for z/OS, refer to the CICS Performance Feature Guide and Reference or the IMS Performance Feature Guide and Reference.
Elapsed time can occur:
For CICS, the transaction could have been waiting outside DB2 for a thread.
If the number of read I/Os is higher than expected, check for:
A GETPAGE is a logical read of one 4K page. If the page is in the buffer pool, it is retrieved from the buffer pool, so DASD I/O is unnecessary. It is always desirable to have required data in the buffer pools.
If I/O time is greater than expected, and not caused by more read I/Os, check for:
To have correct average times, accounting classes 2 and 3 must be active for the entire accounting period. If these classes are started and stopped within an application run, DB2 records only the time when the classes are active, thereby creating a discrepancy with the real DB2 times.
You can also look at the distribution of response-time components by application profiles. The DB2 Application Profiles, Trend report (see Figure 70) shows the response-time components for a specific profile as a percentage of the total elapsed time (class 1) over a specific time period:
You can improve the response time and throughput of your DB2 applications by reducing:
The following sections describe ways to accomplish these goals.
[ Top of Page | Previous Page | Next Page | Contents ]