DB2 - Problem description
| Problem IC97755 | Status: Closed |
SYSPROC.GET_DBSIZE_INFO ROUTINE INCORRECTLY REQUIRES SELECT PRIVILEGES ON TABLE SYSTOOLS.STMG_DBSIZE_INFO | |
| product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
| Problem description: | |
Running procedure call sysproc.GET_DBSIZE_INFO(?, ?, ?, 0) as a
user other than the instance owner, may return an error because
of missing select privileges on table SYSTOOLS.STMG_DBSIZE_INFO.
This is incorrect as the only privileges required to run this
are :
SYSMON authority
EXECUTE privilege on the GET_DBSIZE_INFO procedure
This is because the select on the SYSTOOLS.STMG_DBSIZE_INFO
table is executed as dynamic sql within the admin stored
procedure and the stored procedure has not been created with the
DYNAMICRULES BIND option. | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * all * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade the database server to V9.7 Fix Pack 10 or higher * **************************************************************** | |
| Local Fix: | |
This can be resolved in 2 ways, either grant select privileges on SYSTOOLS.STMG_DBSIZE_INFO to the user executing the procedure or alternatively go to $HOME/sqllib/bnd and run : db2 bind st_admin.bnd dynamicrules bind | |
| Solution | |
This problem was first fixed in V9.7 Fix Pack 10 | |
| Workaround | |
not known / see Local fix | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 19.11.2013 05.01.2015 05.01.2015 |
| Problem solved at the following versions (IBM BugInfos) | |
9.7.FP10 | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 9.7.0.10 |
|