home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC71507 Status: Geschlossen

ENHANCE QUERY PERFORMANCE THROUGH PUSHDOWN OF ANTI-JOIN(S) THROUGH 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 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:                                         * 
* 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                                                           * 
* ES[,<other-values>]                                          * 
*                                                              * 
*                                                              * 
*                                                              * 
* and restart the database manager for settings to take        * 
* effect.                                                      * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.5 Fix Pack 8 or later.              * 
****************************************************************
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 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
First addressed in DB2 Version 9.5 Fix Pack 8.
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC76000 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
27.09.2010
31.01.2012
31.01.2012
Problem behoben ab folgender Versionen (IBM BugInfos)
9.5.FP8
Problem behoben lt. FixList in der Version
9.5.0.8 FixList