DB2 - Problembeschreibung
Problem IC61604 | Status: Geschlossen |
EXECUTE INNER JOIN PREDICATE BEFORE OUTER JOIN PREDICATE IN ONE | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
The filtering inner join predicate is desirable to be evaluated before the outer join predicate from query performance point of view. This APAR fix aims at such query that has one fact table joins with multiple dimension tables. The join types are mixed with INNER JOIN and LEFT OUTER JOIN or RIGHT OUTER JOIN. The following INNER JOIN predicate will be evaluated earlier than OUTER JOIN "fact_table.col1 = dim_tablei.col1 and <DATE type literal> between dim_tablei.col2 and dim_tablei.col3" if dim_tablei has unique index on dim_table1(col1, col2, col3) and there exists no pair of rows sharing the same (col1, col2). col2 and col3 must be of DATE type. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * DB2 V9.7 fixpack 0 * **************************************************************** * PROBLEM DESCRIPTION: * * The filtering inner join predicate is desirable to be * * evaluatedb * * efore the outer join predicate from query performance point * * of v * * iew. This APAR fix aims at such query that has one fact * * table j * * oins with multiple dimension tables. The join types are * * mixed w * * ith INNER JOIN and LEFT OUTER JOIN or RIGHT OUTER JOIN. The * * f * * ollowing INNER JOIN predicate will be evaluated earlier than * * O * * UTER JOIN * * * * * * " * * fact_table.col1 = dim_tablei.col1 and <DATE type literal> * * b * * etween dim_tablei.col2 and dim_tablei.col3" * * * * * * i * * f dim_tablei has unique index on dim_table1(col1, col2, * * col3) a * * nd there exists no pair of rows sharing the same * * ( * * col1, col2). col2 and col3 must be of DATE type. * **************************************************************** * RECOMMENDATION: * * Upgrade to v9.7 fixpack 1 * **************************************************************** | |
Local-Fix: | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows | |
Lösung | |
Fixed in v9.7 fixpck 1 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 20.06.2009 17.02.2010 17.02.2010 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7., 9.7.FP1 | |
Problem behoben lt. FixList in der Version | |
9.7.0.1 |