DB2 - Problem description
Problem IC80758 | Status: Closed |
OPTIMIZER MIGHT NOT CONSIDER A TABLESCAN OF A RANGE PARTITIONED TABLE ON THE INNER OF A NESTED LOOP JOIN | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
The query plan optimizer might not consider a table scan of a range partitioned table on the inner of a nested loop join even though it is not a full table scan when the pushed down join predicates could restrict the number of partitions that are being scanned. You might encounter this problem at optimization class 7 and lower. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * OPTIMIZER MIGHT NOT CONSIDER A TABLESCAN OF A RANGE * * PARTITIONED TABLE ON THE INNER OF A NESTED LOOP JOIN * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version Fix Pack 6. * **************************************************************** | |
Local Fix: | |
Compiling the query under optimization class 9 will enable the optimizer to consider the table scan option. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 Version Fix Pack 6. | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC84324 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 10.01.2012 05.06.2012 05.06.2012 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.6 |