DB2 - Problem description
Problem IC91497 | Status: Closed |
MQT OR STATISTICAL VIEW MAY BE NOT MATCHED OR IMPROPERLY MATCHED | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
When an MQT or statistical view is present, query compiler decides whether the incoming query can be routed to MQT and whether uses MQT or statistical view stats to adjust estimated cardinality of query plan. If query has an equality predicate colX = colY, where colX and colY are integer type but with different length, e.g. colX is smallint and columY is bigint, and if MQT or statview has predicate colY = colX where the operand order is swapped, compiler would either not match MQT or statview or not apply cardinality adjustment properly. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 V97 Fixpack FP9. * **************************************************************** | |
Local Fix: | |
Change MQT or statistical view definition to have its predicate used the same operand order as the query. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows | |
Solution | |
First Fixed in DB2 V97 FP9 | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC96299 IC96350 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 11.04.2013 14.02.2014 14.02.2014 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP9, 9.7.FPFP9 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.9 | |
9.7.0.9 |