AdsTableOptions.AdsIndexPageSize

AdsTableOptions

Advantage TDataSet Descendant

Indicates the page size to use when creating new index files (AdsCreateIndex and AddIndex) and when reindexing existing index files (AdsReindex).

Syntax

property AdsTableOptions.AdsIndexPageSize;

Description

When creating new index files or reindexing tables of type ADS_ADT, it is possible to specify the index page size to use. The valid range is 512 to 8192. 0 can also be specified to allow Advantage to choose the page size based on the index key size. See Index Page Size and Index Key Size and Page Size Relationships for more information.

This property is populated with the index page size of the first index file when the table is opened. If you have multiple index files with different index page sizes, this means that they will all have the same page size as the first opened index after reindexing with the AdsReindex method. Note that the AdsReindex Advantage Client Engine API will maintain the index page size for each individual index file.