DB2 - Problem description
| Problem IC84324 | 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 / A10 - 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 10 Fix Pack 1. * **************************************************************** | |
| Local Fix: | |
Compiling the query under optimization class 9 will enable the optimizer to consider the table scan option. | |
| available fix packs: | |
DB2 Version 10.1 Fix Pack 1 for Linux, UNIX, and Windows | |
| Solution | |
First fixed in DB2 Version 10 Fix Pack 1. | |
| Workaround | |
not known / see Local fix | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 13.06.2012 10.12.2012 10.12.2012 |
| Problem solved at the following versions (IBM BugInfos) | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 10.1.0.1 |
|
| 10.5.0.1 |
|