Calculating index size based on number of rows
You can estimate the size of an R-tree index in pages by performing a series of calculations based on the number of rows in the table.
The following procedure estimates only the number of leaf pages in the R-tree index; it does not calculate the number of branch pages. This is because almost all of the space in an R-tree index is usually taken up by leaf pages, due to the wide shape of the tree. Therefore, calculating the number of leaf pages is usually adequate for a rough estimate of the total number of disk pages that make up the R-tree index.
To estimate the size of an R-tree index in disk pages:
The number of leaf pages that make up the R-tree index
is close to the total number of disk pages that make up the index.
Important: As rows are deleted from the table, and new ones
are inserted, the number of index entries can vary within a page.
The calculation described in this topic yields an estimate for an
R-tree index whose leaf pages are 60 % full. Your R-tree index might
be smaller or larger depending on the activity within the table and
the data that you store.