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

QUERY RETURNS INCORRECT RESULT WHEN INTRA-PARTITION PARALLELISM IS USED

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
A query that used to work fine in V9.1 returns incorrect result 
in V9.7. For example: 
 
SELECT * FROM myschema.tbl1 
WHERE C1 = 'X' 
  AND C2 = 'Y' 
  AND C3 IN ('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H' ) 
  AND C4 = 'V' 
  AND '2010-01-01' BETWEEN C5 AND C6 
  AND C7 = 'Z' 
  AND C8 = '0' 
FETCH FIRST 1 ROWS ONLY 
 
The query fails to return any rows even though two rows satisfy 
the predicate criteria. If the "fetch first" option is removed, 
or "fetch first 2 rows only" is used, the query returns two rows 
as expected. 
 
The problem occurs when the following conditions are true: 
 
- Intra-partition parallelism is on 
- Query degree is greater than 1 
- Index scan is used 
- Runstats has been performed against the table and indexes
Problem-Zusammenfassung:
APAR fix was provided in Fixpack 4.
Local-Fix:
Disable intra-partition parallelism (may affect performance of 
other queries)
verfügbare FixPacks:
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 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
The fix ensures correct result set is returned for the case in 
question.
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC75107 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
11.08.2010
09.05.2011
09.05.2011
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
9.7.0.4 FixList