DB2 - Problembeschreibung
Problem IC87919 | Status: Geschlossen |
THE INDEX RECREATED WITH SYSPROC.ADMIN_MOVE_TABLE PROCEDURE MIGHT HAVE WRONG DEFINITION. | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problembeschreibung: | |
If table for which index was created with 'GENERATE KEY USING XMLPATTERN ... AS ... REJECT INVALID VALUES' clause was moved with SYSPROC.ADMIN_MOVE_TABLE procedure, then recreated index will have wrong definition. REJECT INVALID VALUES clause will be changed to IGNORE INVALID VALUES clause. The issue can be observed with db2look utility: db2look -d sample -z db2inst1 -t tab1 -e CREATE INDEX "DB2INST1"."IND1" ON "DB2INST1"."TAB1" ("C_XML" ASC) GENERATE KEY USING XMLPATTERN '/row/c1' AS SQL DOUBLE REJECT INVALID VALUES <<<<< COMPRESS NO ALLOW REVERSE SCANS; db2 "CALL SYSPROC.ADMIN_MOVE_TABLE('DB2INST1','TAB1','','','','','','','', '','MOVE')" db2look -d sample -z db2inst1 -t tab1 -e CREATE INDEX "DB2INST1"."IND1" ON "DB2INST1"."TAB1" ("C_XML" ASC) GENERATE KEY USING XMLPATTERN '/row/c3' AS SQL DOUBLE IGNORE INVALID VALUES <<<<< COMPRESS NO ALLOW REVERSE SCANS; | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * Users who use ADMIN_MOVE_TABLE in DB2 V10.1 * **************************************************************** * PROBLEM DESCRIPTION: * * If table for which index was created with 'GENERATE KEY * * USING * * XMLPATTERN ... AS ... REJECT INVALID VALUES' clause was * * moved * * with SYSPROC.ADMIN_MOVE_TABLE procedure, then recreated * * index * * will have wrong definition. * * REJECT INVALID VALUES clause will be changed to IGNORE * * INVALID * * VALUES clause. * * * * The issue can be observed with db2look utility: * * * * db2look -d sample -z db2inst1 -t tab1 -e * * * * CREATE INDEX "DB2INST1"."IND1" ON "DB2INST1"."TAB1" * * ("C_XML" ASC) * * GENERATE KEY USING XMLPATTERN * * '/row/c1' * * AS SQL DOUBLE REJECT INVALID * * VALUES * * <<<<< * * COMPRESS NO ALLOW REVERSE SCANS; * * * * db2 "CALL * * SYSPROC.ADMIN_MOVE_TABLE('DB2INST1','TAB1','','','','','','' * * ,'', * * '','MOVE')" * * * * db2look -d sample -z db2inst1 -t tab1 -e * * * * CREATE INDEX "DB2INST1"."IND1" ON "DB2INST1"."TAB1" * * ("C_XML" ASC) * * GENERATE KEY USING XMLPATTERN * * '/row/c3' * * AS SQL DOUBLE IGNORE INVALID * * VALUES * * <<<<< * * COMPRESS NO ALLOW REVERSE SCANS; * **************************************************************** * RECOMMENDATION: * * Upgrade DB2 server to V101FP2 * **************************************************************** | |
Local-Fix: | |
No local fix. | |
verfügbare FixPacks: | |
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows | |
Lösung | |
Upgrade DB2 server to V101FP2 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 04.11.2012 17.01.2013 17.01.2013 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
Problem behoben lt. FixList in der Version | |
10.1.0.2 | |
10.5.0.2 |