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

THE OPTIMIZER MAY FAVOR A FULLY QUALIFIED UNIQUE INDEX WITH FEWER
COLUMNS OVER A UNIQUE NOT FULLY QUALIFIED UNIQUE INDEX

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
The optimizer may favor a unique index that is fully qualified 
over another unique index that is not fully qualified having 
more columns.  This may be true, even if the second index offers 
index only access. 
 
(Fully qualified means that all the columns of the index have 
equality predicates and when specified through a join, all the 
join predicates have to be between the same tables.)
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users.                                                   * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* The optimizer may favor a unique index that is               * 
* fullyqualified over another unique index that is not         * 
* fullyqualified having more columns.  This may be true, even  * 
* ifthe second index offers index only access.(Fully qualified * 
* means that all the columns of the indexhave equality         * 
* predicates and when specified through a join,all the join    * 
* predicates have to be between the same tables.)              * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to Version 9.7 Fix Pack 2 or later.                  * 
****************************************************************
Local-Fix:
Build unique indexes that are a superset of smaller unique 
indexes using include columns: 
 
For Example, if the original definition was: 
 
   unique index1 (a) 
   unique index2 (a,b,c) 
 
 
 
In the above example, index2 is really unique on column a, so 
columns b and c are not needed to be part of the unique 
definition.  The second index could be defined as: 
 
   unique index2 (a) include (b,c)
verfügbare FixPacks:
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
Problem was first fixed in Version 9.7 Fix Pack 2.
Workaround
Build unique indexes that are a superset of smaller unique 
indexes using include columns: 
 
For Example, if the original definition was: 
 
 
  unique index1 (a) 
  unique index2 (a,b,c) 
 
 
 
 
In the above example, index2 is really unique on column a, so 
 
columns b and c are not needed to be part of the unique 
definition.  The second index could be defined as: 
 
  unique index2 (a) include (b,c)
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
05.11.2009
25.05.2010
25.05.2010
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP2
Problem behoben lt. FixList in der Version
9.7.0.2 FixList