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

THE ADMINISTRATIVE PROCEDURE REORGCHK_TB_STATS MIGHT RETURN WRON G TABLE
SIZE AND F2 VALUES FOR PARTITIONS IN A PARTITIONED TABLE

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
If the administrative procedure reorgchk_tb_stats is run against 
a partitioned table, the result set might contain wrong table 
size(TSIZE) and F2 values for some partitions in a partitioned 
table. 
 
For example, in the following result set the partition PART0 and 
PART1 have wrong table size (TSIZE) and have wrong F2 values. 
 
db2 "CALL SYSPROC.REORGCHK_TB_STATS('T','DB2INST1.T1')" 
 
 
Result set 1 
-------------- 
 
TABLE_SCHEMA TABLE_NAME DATAPARTITIONNAME  CARD OVERFLOW 
ACTIVE_BLOCKS  NPAGES FPAGES TSIZE    F1  F2  F3  REORG 
------------ ---------- ----------------- ------ -------- 
------------- ------ ------ ------- --- --- --- ----- 
DB2INST1     T1                           300002        0 
   -1    2241   2243 8700058   0  96 100 --- 
DB2INST1     T1         PART0             298502        0 
   -1    2229   2229 8700058   0  97 100 --- 
DB2INST1     T1         PART1               1500        0 
   -1      12     12 8700058   0 100 100 --- 
DB2INST1     T1         PART2                 -1       -1 
   -1      -1     -1      -1  -1  -1  -1 --- 
DB2INST1     T1         PART3                 -1       -1 
   -1      -1     -1      -1  -1  -1  -1 --- 
 
 
 5 record(s) selected. 
 
 Return Status = 0
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users who run the administrative procedure REORGCHK_TB_STATS * 
* to retrieve table statistics for reorganization evaluation.  * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* If the administrative procedure reorgchk_tb_stats is run     * 
* against a partitioned table, the result set might contain    * 
* wrong table                                                  * 
* size(TSIZE) and F2 values for some partitions in a           * 
* partitioned table.                                           * 
*                                                              * 
* For example, in the following result set the partition PART0 * 
* and PART1 have wrong table size (TSIZE) and have wrong F2    * 
* values.                                                      * 
*                                                              * 
*                                                              * 
* db2 "CALL SYSPROC.REORGCHK_TB_STATS('T','DB2INST1.T1')"      * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
* Result set 1                                                 * 
*                                                              * 
* --------------                                               * 
*                                                              * 
*                                                              * 
*                                                              * 
* TABLE_SCHEMA TABLE_NAME DATAPARTITIONNAME  CARD OVERFLOW     * 
* ACTIVE_BLOCKS  NPAGES FPAGES TSIZE    F1  F2  F3  REORG      * 
*                                                              * 
* ------------ ---------- ----------------- ------ --------    * 
* ------------- ------ ------ ------- --- --- --- -----        * 
*                                                              * 
* DB2INST1    T1                          300002        0      * 
* -1    2241  2243 8700058  0  96 100 ---                      * 
* DB2INST1    T1        PART0            298502        0       * 
* -1    2229  2229 8700058  0  97 100 ---                      * 
* DB2INST1    T1        PART1              1500        0       * 
* -1      12    12 8700058  0 100 100 ---                      * 
* DB2INST1    T1        PART2                -1      -1        * 
* -1      -1    -1      -1  -1  -1  -1 ---                     * 
* DB2INST1    T1        PART3                -1      -1        * 
* -1      -1    -1      -1  -1  -1  -1 ---                     * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
* 5 record(s) selected.                                        * 
*                                                              * 
*                                                              * 
*                                                              * 
* Return Status = 0                                            * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to  DB2 UDB for LUW Version 9.7 Fix Pack 3           * 
****************************************************************
Local Fix:
N/A
available fix packs:
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
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 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Problem was first fixed in Version 9.7 Fix Pack 3
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC77546 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
30.04.2010
28.09.2010
28.09.2010
Problem solved at the following versions (IBM BugInfos)
9.7.FP3
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.3 FixList
9.7.0.3 FixList