home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC91713 Status: Geschlossen

UNDER RARE CONDITIONS, AUTOMATIC STATISTICS COLLECTION MIGHT NOT OCCUR DUE
TO LOST UDI INFORMATION

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
The automatics statistics collection facility uses UDI 
(update/delete/insert) activity information when deciding 
whether to perform runstats against a table.  Under rare 
conditions, the in-memory UDI data for a table might be lost, 
which in turn might lead to a failure to collect new statistics 
for the table as the automatics statistics collection facility 
does not think the table has had significant UDI activity, which 
in turn might lead to the query optimizer choosing a poor access 
plan. 
 
When the problem occurs, the statistics logs might show that a 
SQL1224 error, suggested an automatic runstats was forced. 
 
The fix for APAR IC91562 is a prerequisite when applying the fix 
for IC91713.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All DB2 V9.7 on LUW users.                                   * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 V9.7 Fix Pack 9 or higher                     * 
****************************************************************
Local-Fix:
Workaround: 
 
While this problem is generic in nature, it is more likely to be 
observed for tables which grow and shrink significantly and 
frequently, for example, tables which are truncated and then 
re-populated.  Consider an example of a daily job where a table 
is populated, queries are executed, and then the table is 
truncated.  Several workarounds are available in this situation: 
- Change the job so that the table truncation step starts the 
job.  This reduces the probability that the auto_runstats daemon 
might perform runstats on the table when it is empty, which 
reduces the probability that the optimizer might think the table 
is empty when compiling the queries, should the in-memory UDI 
information be lost leading the automatics statistics collection 
facility to not take action. 
- Alter the table to have the VOLATILE attribute.  This informs 
the query optimizer to take into consideration that the 
cardinality of the table can vary significantly at run time, 
from empty to large, whereby certain access methods will be 
preferred. 
- Change the job to include performing a runstats after 
re-populating the table. 
- Perform a one-time runstats against the table when it contains 
data that is representative of its daily re-populated state, and 
exclude the table from automatic statistics maintenance. 
 
In general situations where a poor access plan is identified and 
a better access plan is known, direct the optimizer to the 
better access plan via an optimization guideline.
verfügbare FixPacks:
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
Fixed in DB2 V9.7 Fix Pack 9
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC91955 IC95284 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
22.04.2013
25.08.2014
25.08.2014
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP9
Problem behoben lt. FixList in der Version
9.7.0.9 FixList
9.7.0.9 FixList