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


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
//*

Updated on: 12-Sep-2020

468 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements