DB2 - Problembeschreibung
| Problem IC91749 | Status: Geschlossen |
OPTIMIZER MIGHT CHOOSE A SUB-OPTIMAL ACCESS FOR TABLE WITH THE SAME SINGLE COLUMN RANGE PARTITIONING KEY AND DISTRIBUTION KEY | |
| Produkt: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
| Problembeschreibung: | |
Description:
The optimizer might choose a table scan over an index access of
a range partitioned table in a database partitioned environment
under the following conditions:
- the table is range partitioned and hash distributed on the
same single column; e.g.
create table t1 (C1 date, ...) distribute by hash (C1)
partition by range (C1) (starting (minvalue) ending
('2010-12-31'), starting('2011-01-01') ending ('2011-01-31'),
...)
- the query contains an equality predicate on the column; e.g.
C1='2012-01-15'
- a partitioned index containing C1 in the key exists
This problem is more likely to occur for tables with a large
number of range partitions where the majority are empty. | |
| Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 10.1 Fixpack 3. * **************************************************************** | |
| Local-Fix: | |
You can use an optimization guideline to produce an index access. | |
| verfügbare FixPacks: | |
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows | |
| Lösung | |
Fixed in Version 10.1 Fixpack 3. | |
| Workaround | |
keiner bekannt / siehe Local-Fix | |
| Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 22.04.2013 10.10.2013 10.10.2013 |
| Problem behoben ab folgender Versionen (IBM BugInfos) | |
| Problem behoben lt. FixList in der Version | |
| 10.1.0.3 |
|
| 10.1.0.3 |
|