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

GET_DBSIZE_INFO WRONG, DATABASECAPACITY SHOWS INCORRECT VALUE

product:
DB2 FOR LUW / DB2FORLUW / 980 - DB2
Problem description:
When using the GET_DBSIZE_INFO procedure databasecapacity may 
not be correct. 
>db2 "call get_dbsize_info(?,?,?,0)" 
 
 
Value of output parameters 
 
-------------------------- 
 
Parameter Name : SNAPSHOTTIMESTAMP 
 
Parameter Value : 2010-03-01-12.34.59.537249 
 
 
 
Parameter Name : DATABASESIZE 
 
Parameter Value : 78913536 
 
 
 
Parameter Name : DATABASECAPACITY 
 
Parameter Value : 33521660          <------------Is an incorrect 
value and is less than the databasesize 
 
 
 
Return Status = 0 
 
This comes from the function running as a fenced process, and 
the fenced user doesn't have the correct permissions to access 
the sms tablespace containers.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users of 9.8                                                 * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* When using the GET_DBSIZE_INFO procedure databasecapacity    * 
* may                                                          * 
* not be correct.                                              * 
*                                                              * 
* >db2 "call get_dbsize_info(?,?,?,0)"                         * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
* Value of output parameters                                   * 
*                                                              * 
*                                                              * 
*                                                              * 
* --------------------------                                   * 
*                                                              * 
*                                                              * 
*                                                              * 
* Parameter Name : SNAPSHOTTIMESTAMP                           * 
*                                                              * 
*                                                              * 
*                                                              * 
* Parameter Value : 2010-03-01-12.34.59.537249                 * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
* Parameter Name : DATABASESIZE                                * 
*                                                              * 
*                                                              * 
*                                                              * 
* Parameter Value : 78913536                                   * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
* Parameter Name : DATABASECAPACITY                            * 
*                                                              * 
*                                                              * 
*                                                              * 
* Parameter Value : 33521660          <------------Is an       * 
* incorrect                                                    * 
* value and is less than the databasesize                      * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
*                                                              * 
* Return Status = 0                                            * 
*                                                              * 
*                                                              * 
*                                                              * 
* This comes from the function running as a fenced process,    * 
* and                                                          * 
* the fenced user doesn't have the correct permissions to      * 
* access                                                       * 
* the sms tablespace containers.                               * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to most recent fix pack                              * 
****************************************************************
Local Fix:
Assign read and write on the sms container directories to the 
fenced user.
available fix packs:
DB2 Version 9.8 Fix Pack 4 for AIX and Linux
DB2 Version 9.8 Fix Pack 5 for AIX and Linux

Solution
Workaround
Assign read and write on the sms container directories to the 
fenced user.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
28.05.2010
09.08.2011
09.08.2011
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
9.8.0.4 FixList