Statistics descriptor

An access method returns statistics to the UPDATE STATISTICS statement in a statistics descriptor, or MI_AM_TSTATS_DESC structure. The database server copies the separate values from the statistics descriptor to pertinent tables in the system catalog.

The following accessor functions set information in the statistics descriptor.
Accessor function Value set
mi_tstats_setnpages() The number of pages that the table uses
mi_tstats_setnrows() The number of rows in the table