DB2 - Problem description
Problem IT26704 | Status: Closed |
ADMIN_MOVE_TABLE: OUTPUT OF OPERATION ESTIMATE MAY RETURN SOURCETABLE SIZES OF -4 AND SMALLER | |
product: | |
DB2 FOR LUW / DB2FORLUW / B10 - DB2 | |
Problem description: | |
When the stored procedure ADMIN_MOVE_TABLE is called with operation ESTIMATE, the size of the target table is estimated. The result set also shows the calculated size of the source table (SOURCE_SIZE) in kB: e.g.: CALL SYSPROC.ADMIN_MOVE_TABLE('','','','','ESTIMATE' ) Result set 1 -------------- TABSCHEMA TABNAME ROWS_SAMPLED SOURCE_SIZE TARGET_SIZE SOURCE_PCTPAGESSAVED TARGET_PCTPAGESSAVED --------- ------- -------------------- -------------------- -------------------- -------------------- -------------------- 0 -4 0 -1 0 1 record(s) selected. Return Status = 0 The field SOURCE_SIZE is calculated by multiplying the field NPAGES of the catalog view SYSCAT.TABLES of the source table with its pagesize/1024. In case the statistics of the source table are missing (i.e NPAGES is -1) the calculated SOURCE_SIZE is shown directly in the result set of the stored procedure. With this APAR the reported SOURCE_SIZE is limited to -1 instead of displaying values as shown in the example above. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * users calling stored procedure ADMIN_MOVE_TABLE with * * operation ESTIMATE * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to the latest fix pack. * **************************************************************** | |
Local Fix: | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 23.10.2018 23.02.2020 23.02.2020 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |