DB2 - Problembeschreibung
Problem IT03107 | Status: Geschlossen |
DB2 MIGHT NOT CREATE IMPLIED PREDICATES ON GENERATED COLUMNS IN ORA COMPATIBILITY MODE | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
Description: Under rare scenarios DB2 might not create implied predicates on generated columns leading to unoptimized access plans if the following conditions are true: 1. The DB is created with DB2_COMPATIBILITY_VECTOR=ORA 2. The query contains one or more partitioned tables 3. The partitioned table is partitioned on one or more generated columns 4. The generated expression contains mathematical operations such as DIV, MULT 5. The columns referenced in the generated expression are used in a local predicate example: create table test_sales (a int, b int generated always as (a / 5)) partition by range(b) (starting from (0) ending at (1000) every (50)); select * from test_sales where a > 500; An implied predicate: b> 100 can be generated for this scenario | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * All DB2 9.7 users * **************************************************************** * PROBLEM DESCRIPTION: * * See problem description above. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.7 Fix Pack 10 or higher. * **************************************************************** | |
Local-Fix: | |
Lösung | |
First fixed in DB2 Version 9.7 Fix Pack 10. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 11.07.2014 22.10.2014 22.10.2014 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP10 | |
Problem behoben lt. FixList in der Version | |
9.7.0.10 |