Estimating space requirements for tables and indexes

Use the Estimate Size window to estimate the amount of storage space required for a new or existing table or index. The estimated storage space is determined from the definition of a particular table and its dependent indexes. Minimum and maximum storage values are estimated for these objects.

There are several reasons to estimate the space requirements for tables and indexes.

Note:For DB2 Extended Enterprise Edition Databases, size estimates are based on the logical size of the data in the table instead of by database partition.

Fields and controls



To estimate the size for a table:

  1. Open the Estimate Size window.
  2. Optional: If recent statistics are not available for the table or index, click Run statistics before updating the New total number of rows and New average row length fields and running a size estimate. The calculation of the size estimate can then be based on more accurate information. The Run Statistics window opens.
  3. Either accept the default or select a different value for New total number of rows.
  4. To view the size estimates for the new value, click Refresh.
  5. Either accept the default or select a different value for New average row length.
  6. To view the size estimates for the new value, click Refresh.
  7. Optional: Either accept the default or select a different value for Display sizes in units of. The size estimates change to use the selected value.


Related information