DB2 - Problembeschreibung
Problem IC85988 | Status: Geschlossen |
IN SMP WHEN DOING DISTINCT OR GROUP BY THAT INCLUDES TIMESTAMP COLUMNS, IT IS POSSIBLE THAT DUPLICATE ROWS WILL BE RETURNED. | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
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-Zusammenfassung: | |
**************************************************************** * 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. | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows | |
Lösung | |
Install this fix | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 20.08.2012 20.10.2012 20.10.2012 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
Problem behoben lt. FixList in der Version | |
9.7.0.7 |