home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
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
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC85988 Status: Closed

IN SMP WHEN DOING DISTINCT OR GROUP BY THAT INCLUDES TIMESTAMP COLUMNS, IT
IS POSSIBLE THAT DUPLICATE ROWS WILL BE RETURNED.

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
In SMP when doing distinct or group by that includes timestamp 
columns, it is possible that duplicate rows will be returned. 
example: 
select distinct col1(varchar), col2(timestamp) from table 
might return duplicate rows if col1 has values that differ in 
trailing blanks only. (ex: 'A' and 'A    ') 
 
Conditions to encounter this problem: 
- must have SMP enabled (database manager config has the 
parameter INTRA_PARALLEL set to ON) 
- The query degree is > 1 (database config for DFT_DEGREE or the 
CURRENT QUERY DEGREE special register) 
- must have timestamp column as last column in the list , so it 
becomes first column in the hash key 
- must have rows that would have been considered identical and 
the only difference is varchar column that has spaces
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* SMP only                                                     * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Install this fix                                             * 
****************************************************************
Local Fix:
turn SMP off, remove trailing blanks or install this fix.
available fix packs:
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

Solution
Install this fix
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
20.08.2012
20.10.2012
20.10.2012
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.7 FixList