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

CREATE INDEX MAY GET SQL0901N IF COLUMN HAS INVALID UTF8 CHARACTERS.

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
If the column on which  index is created has invalid UTF 
characters, reate index statement may get SQL0901N with reason 
"Key data mismatch 
encountered during key delete". 
 
Simple repro: 
 
#!/bin/ksh 
 
export DB2OPTIONS="-ctv" 
dbName="xxxxxx" 
 
db2start 
db2 "create db $dbName collate using SYSTEM_819_US" 
db2 "connect to $dbName" 
db2 "create table t1 (v1 varchar(3), i2 int)" 
db2 "insert into t1 values (x'45C3A8',1), (x'4599EB',2)" 
db2 "create index i1 on t1 (v1)" 
 
SQL0901N  The SQL statement failed because of a non-severe 
system error. 
Subsequent SQL statements can be processed.  (Reason "Key data 
mismatch 
encountered during key delete".)  SQLSTATE=58004
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* f the column on which  index is created has invalid UTF      * 
*                                                              * 
* characters, reate index statement may get SQL0901N with      * 
* reason                                                       * 
* "Key data mismatch                                           * 
*                                                              * 
* encountered during key delete".                              * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade server to v9.7.5                                     * 
****************************************************************
Local-Fix:
DB2SET DB2_BINSORT=NO; and recreate the indexes in { {13;21}, 
{10;23}, {10;35}, {13;14}, {13;30}, {16;12} }
verfügbare FixPacks:
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
f the column on which  index is created has invalid UTF 
characters, reate index statement may get SQL0901N with reason 
"Key data mismatch 
encountered during key delete".
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
02.05.2011
08.12.2011
08.12.2011
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.5
Problem behoben lt. FixList in der Version
9.7.0.5 FixList