DB2 - Problembeschreibung
Problem IC61930 | Status: Geschlossen |
FOR DB2 UDB, CHANGE LEFT OUTER JOIN TO INNER JOIN WHILE QUERY HAS LOCAL "OR" PREDICATE | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
If query has a local predicate on top of a left outer join block, and if the local predicate refers to columns output from the inner stream of the left outer join operator, then this left outer join can be converted to inner join. This will give the query more opportunities to be optimized by other DB2 transformations. For example, a left outer join query is select * from table1 left outer join table2 on table1.col1 = table2.col1 where table2.col2 = 1 or table2.col3 = 1; DB2 query rewrite will automatically change it to select * from table1 inner join table2 on table1.col1 = table2.col1 where table2.col2 = 1 or table2.col3 = 1; | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Problem Description above. * **************************************************************** * RECOMMENDATION: * * Upgrade to Version 9.7 Fix Pack 1. * **************************************************************** | |
Local-Fix: | |
Rewrite the query statement. | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows | |
Lösung | |
Problem first fixed in Version 9.7 Fix Pack 1. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 08.07.2009 18.01.2010 18.01.2010 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP1 | |
Problem behoben lt. FixList in der Version | |
9.7.0.1 |