DB2 - Problembeschreibung
Problem IC76000 | Status: Geschlossen |
ENHANCE QUERY PERFORMANCE THROUGH PUSHDOWN OF ANTI-JOIN(S) THROUGH UNION ALL VIEW(S) | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
DB2 Query ReWrite may be able to improve the performance of a query by optimizing it during compilation if it satisfies the following conditions: - The query refers to 2 or more UNION ALL views (UAV) - Each UAV branch or operand is one of the following: (a) a select over a base table (b) an anti-join between 2 base tables (using a not-exists subquery) (c) an inner, left or right outer join of any combination of (a) or (b) (d) an inner, left or right outer join of any combination of (a), (b) or (c) - The UAVs are joined to each other - The joins between the UAVs are either all inner joins or joins on columns that source from row-preserving sides of any outer joins This enhancement is only available under registry variable control. To enable it, issue: db2set DB2_UNION_OPTIMIZATION=[<other-values>,] ENABLE_NESQ_PD_THRU_UA=YES [,<other-values>] and restart the database manager for settings to take effect. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.7 Fix Pack 5 or later. * **************************************************************** | |
Local-Fix: | |
Manually rewrite any applicable queries to be of the form derived through this enhancement. | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows | |
Lösung | |
First fixed in DB2 Version 9.7 Fix Pack 5. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 25.04.2011 31.01.2012 12.03.2012 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP5 | |
Problem behoben lt. FixList in der Version | |
9.7.0.5 |