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

IMPROVE USE OF STATISTICAL VIEWS WHEN 1 OR MORE TABLES JOINED AP PLY 1 OR
MORE LOCAL PREDICATESON THE COLS IN VIEWS SELECT CLAU

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
This fix improve the optimizer's use of statistics from views 
containing joins, when one or more tables joined applies 1 or 
more local  predicates on the column(s) in the view's SELECT 
clause and there are multiple indexes on this table.  For 
example: 
. 
view: 
select F.A, F.B, F.C, D.X 
from D,F 
where D.PK=F.FK; 
. 
query: 
select * 
from D,F 
where D.PK=F.FK 
and F.A=1 
and F.B in (1,2) 
and D.X = 1 
indexes on F(FK,A), F(FK,B), F(A), F(B) 
. 
Currently, the optimizer will underestimate the cost of all the 
index accesses on F when F is on the inner of a NLJN and thus 
could go towards the undercosted NLJN plan. The APAR will 
improve this by making better use of the view's stats.
Problem-Zusammenfassung:
This fix improve the optimizer's use of statistics from views 
containing joins, when one or more tables joined applies 1 or 
more local  predicates on the column(s) in the view's SELECT 
clause and there are multiple indexes on this table.  For 
example: 
. 
view: 
select F.A, F.B, F.C, D.X 
from D,F 
where D.PK=F.FK; 
. 
query: 
select * 
from D,F 
where D.PK=F.FK 
and F.A=1 
and F.B in (1,2) 
and D.X = 1 
indexes on F(FK,A), F(FK,B), F(A), F(B) 
. 
Currently, the optimizer will underestimate the cost of all the 
index accesses on F when F is on the inner of a NLJN and thus 
could go towards the undercosted NLJN plan. The APAR will 
improve this by making better use of the view's stats.
Local-Fix:
verfügbare FixPacks:
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows
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 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 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
module engn_sqno 
fixed >= v97 fpk1
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
22.10.2009
16.02.2010
16.02.2010
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FPk1
Problem behoben lt. FixList in der Version
9.7.0.1 FixList