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 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 FixList