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 IC70255 Status: Closed

STATVIEW COLUMN STATISTICS NOT USED FOR CARDINALITY ESTIMATE FOR COMPLEX
AND/OR PREDICATES

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
DB2 uses the individual column statistics to correct the 
cardinality estimate for predicates applied to columns in views 
enabled for optimization (statistical views, or statviews for 
short). When the predicate involves combinations of AND and OR 
predicates, the correction is not applied properly. 
 
For example, the statview column statistics would be used to 
estimate the filtering for predicates like: 
"column1 >= 7 and column1 <= 9", or 
"column1 = 7 or column1 = 9" 
 
However, it would not be used to estimate the filtering for 
predicates like: 
"column1 >= 7 and column1 <= 9 or 
 column1 >= 15 and column1 <= 18" 
 
This fix addresses the filtering estimate for the more complex 
predicate with predicates combined with OR and AND.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description above.                                 * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.7 Fix Pack 5.                       * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
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

Solution
First fixed in DB2 Version 9.7 Fix Pack 5.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
28.07.2010
27.12.2011
27.12.2011
Problem solved at the following versions (IBM BugInfos)
9.7.FP5
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.5 FixList