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 IT04155 Status: Geschlossen

PERFORMANCE MAY BE POOR FOR QUERIES WITH A VALUES CLAUSE AND UNION OPERATOR

Produkt:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problembeschreibung:
Queries involving a VALUES clause joined to a UNION or UNION ALL 
operation may experience poor performance. Affected queries may 
required fully reading the table referenced by the UNION or 
UNION ALL operator before applying the filtering offered by the 
VALUES clause. For example in the following query can exhibit 
this behaviour. 
 
select v.* 
  from ( 
    select c1, c2, c3 
      from ( 
        select * 
          from t1 
         union 
        select * 
          from t2 
           ) 
       ) v, table( 
    values (?, ?),(?, ?),(?, ?),(?, ?),(?, ?) 
       ) as c(c1, c2) 
 where v.c1 = c.c1 
   and v.c2 = c.c2; 
 
To determine if you are affected by this issue. Gather explain 
output for relevant queries and examine the db2exfmt output to 
see if the TFNUM_LINT table function is joined to the UNION 
result.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* DB2 LUW                                                      * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 LUW version 10.1 fixpak 5.                    * 
****************************************************************
Local-Fix:
Manually rewrite the query to push the values clause into each 
leg of the UNION operator.
Lösung
First fixed in DB2 LUW version 10.1 fixpak 5.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
03.09.2014
13.07.2015
13.07.2015
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.1.0.5 FixList