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

GET_DBSIZE_INFO WRONG, DATABASECAPACITY SHOWS INCORRECT VALUE

product:
DB2 FOR LUW / DB2FORLUW / 970 - 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:                                              * 
* All Users                                                    * 
**************************************************************** 
* 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 latest fix pack.                                  * 
****************************************************************
Local Fix:
Assign read and write on the sms container directories to the 
fenced user.
available fix packs:
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 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Will resolve permissions issue with fenced user. 
Problem First Fixed in DB2 Version 9.7 Fix Pack 6
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
11.04.2011
22.03.2012
05.07.2012
Problem solved at the following versions (IBM BugInfos)
9.7.FP6
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.6 FixList