DB2-z/OS: Configure statement Cache Statistics History

[] [] [] [] [] [] [] [] []

  1. Error in Full Cache Refresh on DB2 Z/OS platformSymptom Full cache refresh does not works on PI system with DB2 database on Operating System Z/OS During full cache refresh, a deadlock occurs on the database and J2EE engine needs to...
  2. DB2-z/OS:CCMS: DB13: DB2 Utilities SHRLEVEL SyntaxSymptom The DB13 job templates to call DB2 Utilities contain a wrong syntax for SHRLEVEL. The value of SHRLEVEL is accidentally enclosed in brackets. This prevents the fix from IBM APAR PK87122...
  3. DB2-z/OS:CCMS: DB2 Utility job changesSymptom REORG jobs in transaction DB13 alter the primary and secondary space allocation, if the number of extents is greater than four. In addition, REORG and COPY jobs in DB13 are not...
  4. DB2-z/OS: CCMS corrections (6.10, 6.20, 6.40, 7.x)Symptom This note describes DB2 for z/OS-specific corrections and advance developments for the CCMS for R/3 Releases 6.10, 6.20, 6.40 and 7.00. Other terms DB2, z/OS, ABAP, transport, correction, fix, advance development,...
  5. DB2-z/OS: Service SQLSymptom You want to create the service SQL to extract the current SQL query scenario. Other terms DB2, OS/390, z/OS, PLI8, DSNPLI8 Reason and Prerequisites To reproduce problems in the area of...
  6. DB2-z/OS: Requirements – EhP installerSymptom The note lists corrections that need to be applied to your system before you start the EhP installer to the following target release(s): NW 7.02NW 7.20 Other terms DB2 z/OS DDIC...
  7. DB2-z/OS:CCMS: Enabling Sysplex MonitorSymptom The new OS07(n) needs to query the connected SAP system via RFC to find out details about the associated DB host. Other terms DB2, z/OS, CCMS, Sysplex Monitor, OS07, Configuration, DB...
  8. DB2-z/OS:CCMS: DSNACCOR RUNSTATS recommendationsSymptom When computing RUNSTATS recommendations, the stored procedure DSNACCOR does not take into account, if last RUNSTATS time is older than last REORG time. Other terms DB2, CCMS, DB13, z/OS, OS/390, RUNSTATS,...

Symptom

The SAP DB2 performance data collector RFCOSCOL (WebAS 6.20/6.40) / SAPCL (WebAS 7.00) periodically takes a snapshot of the DB2 statement cache statistics in order to collect a history of the performance data. CPU spikes may occur on the z/OS machine while the performance data is being collected.
Other terms

DB2,z/OS,IFCID 316, ST04
Reason and Prerequisites

RFCOSCOL (Release 6.20/6.40) and the SAPCL alert router (Release 7.00) collect a history of the statement cache statistics with a frequency that is always controlled by DB2 ZPARM STATIME.
Solution

New configuration options for the collection of the statement cache history have been introduced. In SAP transaction ST04 on the ‘SAP Collector Settings’ panel of the ‘Checks/Settings’ tab now includes the following parameters:
History interval: By default, the most relevant statements in the statement cache are determined with a frequency controlled by the DB2 ZPARM STATIME. You can modify this frequency by specifying a multiplier. For example, if STATIME is set to 5 minutes and the multiplier is 3, then the most important statements will be determined and stored every 15 minutes. If you specify 0, you turn off the collection of the statement cache history.Keep top N statements: By default, the top 50 statements with the largest elapsed time in the last history interval are stored in the statement cache history. You can change this setting by specifying the desired value.Global times interval: The global times that are displayed in transaction ST04 are computed based on average time distributions of samples of the active DB2 threads. By default, the samples are retrieved with the same frequency as the DB2 ZPARM STATIME. You can change this frequency by specifying a multiplier that works the same way as the history interval multiplier.

The new configuration options require the following or subsequent patch levels:
WebAS 6.20/6.40: CCMS transport SAPK640OCO and RFCOSCOL patch level 21WebAS 7.00: Basis Support Package 12 and SAPCL patch level 11Alternatively to installing the above mentioned levels, you can perform the following actions manually (for example, using the IBM tool SPUFI):Perform the following INSERTS replacing

byDB2QPROF for Release 7.00DB2PROF for Release 6.xx:For the History interval: INSERT INTO
(CLKEY,CLVALUE)
VALUES ( ‘DSC_HIST_EVAL’ , ‘1′);
For Keep top N statements: INSERT INTO
(CLKEY,CLVALUE)
VALUES ( ‘DSC_HIST_STMT_NO’ , ‘50′);
For Global times interval: INSERT INTO
(CLKEY,CLVALUE)
VALUES ( ‘ACC_TIME_EVAL’ , ‘1′);

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment