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

WRONG RESULTS MAY HAPPEN WHEN ACCESS PLAN CONTAINS INDEX SCAN ON THE OUTER
LEG OF THE HASH JOIN

Produkt:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problembeschreibung:
It is possible to get wrong results when access plan contains 
index scan on the outer leg of the hash join and filtering is 
applied to the scan results. 
 
Example below will demonstrate the issue. 
SQL using "WITH RR" will return correct results. 
SQL without "WITH RR" will return incorrect results. 
 
select count(*) from (select rowid rid from test1 where 
tabschema = 'MYSCHEMA') a , (select rowid rid from test1 where 
tabname = 'TEST1') b where a.rid = b.rid 
 
1 
----------- 
38 
 
 1 record(s) selected. 
 
select count(*) from (select rowid rid from test1 where 
tabschema = 'MYSCHEMA') a , (select rowid rid from test1 where 
tabname = 'TEST1') b where a.rid = b.rid WITH RR 
 
1 
----------- 
20020 
1 record(s) selected. 
 
Access plans will look the same and will have index scan on the 
outer leg of the hash join. 
In the problem case we will not qualify all rows on the outer of 
hash join due to problems with how we apply filtering.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Wrong results                                                * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to v10.5fp6 or latest fixpak or use workaround below * 
* db2set DB2_TCG_DEFAULT_OPTIONS="set disable_pushdown on".    * 
* restart the instance.                                        * 
****************************************************************
Local-Fix:
db2set DB2_TCG_DEFAULT_OPTIONS="set disable_pushdown on". 
restart the instance.
Lösung
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
10.06.2015
19.01.2016
09.05.2017
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.5.0.7 FixList