How can I get the size of my UDB DB2 version 9.1 database? I tried firing getdbconfig from the command prompt. It gives all the configuration but not the size.
Thanks đŸ™‚
db2udb-db2
How can I get the size of my UDB DB2 version 9.1 database? I tried firing getdbconfig from the command prompt. It gives all the configuration but not the size.
Thanks đŸ™‚
Best Answer
There is a TechNote on IBM's support site:
How to calculate the size of a DB2 database
To execute this procedure you should follow these three steps:
GET_DBSIZE_INFO
.Here is the syntax of the procedure:
The first three parameters are output parameters, and the refresh-window is an input parameter of type INTEGER that specifies the number of minutes until the cached values for database size and capacity are to be refreshed.
Refer to this documentation link for examples of the output from this procedure in DB2 UDB Version 9.1.