DB2 - Problembeschreibung
Problem IC69294 | Status: Geschlossen |
ENHANCE QUERY PERFORMANCE THROUGH PUSHDOWN OF JOIN(S) THROUGH DISJOINT UNION ALL VIEW(S) | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 950 - 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 3 or more UNION ALL views (UAV) - Each UAV branch or operand is a select over a base table or nickname - The UAVs all have the same number of branches or operands - The UAVs are all 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 - At least one join column from each branch or operand of each UAV has the same local predicate as corresponding branches from other UAVs - A one-to-one join mapping can be derived from all of the previous conditions This enhancement is only available under registry variable control. To enable it, issue: db2set DB2_UNION_OPTIMIZATION=[<other-values>,]COMPLEX_DISJOINT_UA_JPPD [,<other-values>] and restart the database manager for settings to take effect. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * NA * **************************************************************** * PROBLEM DESCRIPTION: * * DB2 Query ReWrite may be able to improve the performance of * * a * * query by optimizing it during compilation * **************************************************************** * RECOMMENDATION: * * Upgrade to FP7 * **************************************************************** | |
Local-Fix: | |
Manually rewrite any applicable queries to be of the form derived through this enhancement. | |
verfügbare FixPacks: | |
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows | |
Lösung | |
Upgrade to FP7 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC71543 Nachfolger : | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 16.06.2010 10.01.2011 10.01.2011 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
Problem behoben lt. FixList in der Version | |
9.1.0.7 | |
9.5.0.7 |