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 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
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 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 FixList
10.5.0.2 FixList