home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC71927 Status: Closed

PERFORMANCE DEGRADATION DUE TO A PACKAGE CACHE CONTENTION WHEN MANY DROP
DGTT STATEMENTS ARE RUNNING SIMULTANEOUSLY

product:
DB2 FOR LUW / DB2FORLUW / 910 - DB2
Problem description:
Every time a drop DGTT (Declared Global Temporary Table) is run 
within an application, DB2 creates a new environment entry for 
this statement in the cache. All new statements that are coming 
in have to traverse through the list of environments, holding a 
latch, making everybody else wait. 
 
The following is one such latch that waits: 
 
SQLO_LT_sqlra_anchor_stmt__latch - the package cache dynamic SQL 
anchor latch.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All DB2 V9.1 users (FP9 and below)                           * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* Every time a drop DGTT (Declared Global Temporary Table) is  * 
* run within an application, DB2 creates a new environment     * 
* entry for this statement in the cache. All new statements    * 
* that are coming in have to traverse through the list of      * 
* environments, holding a latch, making everybody else wait.   * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Use local fix or upgrade to DB2 V9.1 FP10 to avail fix for   * 
* this APAR.                                                   * 
****************************************************************
Local Fix:
i) db2set DB2_APM_PERFORMANCE=1 
ii) Turn off statement monitor 
iii) db2 flush package cache dynamic
available fix packs:
DB2 Version 9.1 Fix Pack 10  for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 11  for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 12  for Linux, UNIX and Windows

Solution
APAR first fixed in DB2 V9.1 Fp10
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC71954 IC71955 IC72253 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
15.10.2010
13.06.2011
13.06.2011
Problem solved at the following versions (IBM BugInfos)
9.1.FP10
Problem solved according to the fixlist(s) of the following version(s)
9.1.0.10 FixList