What are the ways to calculate DB2 database size using DB2 utility and other methods?

DB2DatabaseBig Data Analytics

There are multiple ways in which we can estimate the size of the DB2 database. Few of them are listed below−

  • By using inbuilt get_dbsize_info function.

  • By using DB2 active transaction logs.

  • The size of the dataset which was used with UNLOAD utility can be checked.

  • Table/Index data

  • Using STOSPACE utility in JCL as below

//STEP1 EXEC DSNUPROC
//SYSIN DD *
STOSPACE DATABASE DSNDB01
//*
raja
Published on 12-Sep-2020 16:17:41
Advertisements