Determining the Number of Rows in the Fragment

About this task

You can place as many rows into a fragment as the available space in the dbspace allows.

To find out how many rows are in a fragment:

Procedure

  1. Run the UPDATE STATISTICS FORCED statement on the table. This step fills the sysfragments system catalog table with the current table information.
  2. Query the sysfragments system catalog table to examine the npused and nrows values. The npused column shows the number of data pages used in the fragment, and the nrows column shows the number of rows in the fragment.