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 IC68914 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:                                              * 
* Users using V9.7 fix pack 2 and earlier                      * 
**************************************************************** 
* 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 fix pack 3                                        * 
****************************************************************
Local Fix:
Assign read and write on the sms container directories to the 
fenced user.
available fix packs:
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
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
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
27.01.2011
27.01.2011
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.3 FixList
9.7.0.3 FixList