The mi_tstats_setnrows() accessor function
The mi_tstats_setnrows() function stores the number of table rows in the statistics descriptor.
Syntax
void mi_tstats_setnrows(MI_AM_TSTATS_DESC *tstatsDesc,
mi_integer nrows)
- tstatsDesc
- Points to the statistics descriptor.
- nrows
- Provides the number of rows in the table.
Usage
The am_stats purpose function sets the number of rows in the table, which the database server stores in the nrows column of the systables system catalog table. The optimizer uses it to choose an optimal query path.
Return values
None