DB2 - Problem description
Problem IC65375 | Status: Closed |
Explain from section shows incorrect estimated cardinality in DPF environments | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
When a statement is explained using section information via EXPLAIN_FROM_ACTIVITY, EXPLAIN_FROM_CATALOG, EXPLAIN_FROM_DATA, or EXPLAIN_FROM_SECTION procedures in a Database Partitioning Feature (DPF) environment, the explain output shows incorrect estimated cardinality values. The estimated cardinalities are presented as per-table values instead of per-database-partition values. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * When a statement is explained using section information via * * * * EXPLAIN_FROM_ACTIVITY, EXPLAIN_FROM_CATALOG, * * EXPLAIN_FROM_DATA, * * or EXPLAIN_FROM_SECTION procedures in a Database * * Partitioning * * Feature (DPF) environment, the explain output shows * * incorrect * * estimated cardinality values. The estimated cardinalities * * are * * presented as per-table values instead of * * per-database-partition * * values. * **************************************************************** * RECOMMENDATION: * * Upgrade to Version 9.7 Fix Pack 2. * **************************************************************** | |
Local Fix: | |
To determine correct estimated cardinality values: - obtain explain output via the DB2 explain facility (EXPLAIN statement or CURRENT EXPLAIN MODE special register) - continue to obtain explain output from section information and manually adjust the per-table cardinality values to per-database-partition values | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in Version 9.7 Fix Pack 2. The fix is to be applied to the database server. | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IZ69153 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 04.01.2010 08.04.2010 08.04.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP2 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.2 |