DB2 - Problem description
Problem IT04599 | Status: Closed |
MON_GET_TABLESPACE TABLE FUNCTION CAN RETURN NEGATIVE VALUES FOR TBSP_INITIAL_SIZE & TBSP_MAX_SIZE | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
The MON_GET_TABLESPACE table function can return negative values for TBSP_INITIAL_SIZE & TBSP_MAX_SIZE. db2sampl -xml -sql db2 connect to sample db2 "create LARGE tablespace MDL_LOB" db2 "SELECT TBSP_NAME, TBSP_INITIAL_SIZE, TBSP_MAX_SIZE FROM TABLE(MON_GET_TABLESPACE('',-2)) AS t" TBSP_NAME TBSP_INITIAL_SIZE TBSP_MAX_SIZE ---------------- ----------------- -------------------- SYSCATSPACE 33554432 -1 TEMPSPACE1 - - USERSPACE1 33554432 -1 IBMDB2SAMPLEREL 33554432 -1 IBMDB2SAMPLEXML 33554432 -1 SYSTOOLSPACE 33554432 -1 MDL_LOB 33554432 -1 db2 "ALTER TABLESPACE MDL_LOB AUTORESIZE YES MAXSIZE 2G" db2 "SELECT TBSP_NAME, TBSP_INITIAL_SIZE, TBSP_MAX_SIZE FROM TABLE(MON_GET_TABLESPACE('',-2)) AS t" TBSP_NAME TBSP_INITIAL_SIZE TBSP_MAX_SIZE ---------------- ----------------- ------------- SYSCATSPACE 33554432 -1 TEMPSPACE1 - - USERSPACE1 33554432 -1 IBMDB2SAMPLEREL 33554432 -1 IBMDB2SAMPLEXML 33554432 -1 SYSTOOLSPACE 33554432 -1 MDL_LOB 33554432 -2147483648 db2 "ALTER TABLESPACE MDL_LOB AUTORESIZE YES MAXSIZE 1G" db2 "SELECT TBSP_NAME, TBSP_INITIAL_SIZE, TBSP_MAX_SIZE FROM TABLE(MON_GET_TABLESPACE('',-2)) AS t" TBSP_NAME TBSP_INITIAL_SIZE TBSP_MAX_SIZE ---------------- ----------------- ---------------- SYSCATSPACE 33554432 -1 TEMPSPACE1 - - USERSPACE1 33554432 -1 IBMDB2SAMPLEREL 33554432 -1 IBMDB2SAMPLEXML 33554432 -1 SYSTOOLSPACE 33554432 -1 MDL_LOB 33554432 1073741824 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All Platforms * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 LUW v10.5 Fixpack 5 or Later. * **************************************************************** | |
Local Fix: | |
Solution | |
First Fixed in DB2 LUW v10.5 Fixpack 5 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 25.09.2014 13.03.2015 13.03.2015 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.5.0.5 |