DB2 - Problem description
Problem IC98878 | Status: Closed |
DB2 OPTIMIZER CAN CHOOSE A SUB-OPTIMAL PLAN FOR A TABLE THAT HAS A HIGH ROWS-PER-PAGE NUMBER | |
product: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problem description: | |
When a table has a high rows-per-page number, DB2 optimizer can be too conservative with the estimate and as a result, prefetching may not occur for a IXSCAN-FETCH operation on such a table, even when the index has a high cluster ratio. This can result in a sub-optimal query plan. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All users * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to version 10.1 Fix Pack 1 or later. * **************************************************************** | |
Local Fix: | |
Solution | |
Problem was first fixed in Version 10.1 Fix Pack 1. The fix is not enabled by default. To enable it, set the following registry: DB2_EXTENDED_OPTIMIZATION=PG_CR | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 21.01.2014 21.01.2014 28.01.2014 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP6 | |
Problem solved according to the fixlist(s) of the following version(s) |