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 IC72799 Status: Closed

THE COMPRESSION PROPERTY FOR THE INDEX IS NOT CORRECTLY ASSIGNED WHEN
DETACHING PARTITION

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
When performing ALTER TABLE...DETACH PARTITION on a range 
partition table with index(es), the COMPRESSION property for the 
index(es) is not propagated properly to the new table (the 
detached partition). 
 
For example: 
 
ALTER TABLE t2 DETACH PARTITION t2_1_1 into t2_1_1 
SELECT tabname, compression FROM syscat.indexes WHERE tabname 
like 'T2%' 
 
TABNAME                        COMPRESSION 
 
---------------------------- ----------- 
 
T2                                 N 
T2_1_1
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See error description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 V9.7 Fix Pack 5 or higher.                    * 
****************************************************************
Local Fix:
After the DETACH completes, run ALTER INDEX <index-name> 
COMPRESS <yes/no> to correct the compression property of the 
index. Then, initiate an index reorganization via the REORG 
INDEXES ALL FOR TABLE <table-name> command on the newly detached 
table.
available fix packs:
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

Solution
First fixed in DB2 Version 9.7 Fix Pack 5.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
24.11.2010
20.01.2012
20.01.2012
Problem solved at the following versions (IBM BugInfos)
9.7.FP5
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.5 FixList