Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

Limiting Special Cache Space

To specify the percentage of the overall data cache space that may be dedicated to individual files, use a configuration entry of the form:

SPECIAL_CACHE_PERCENT <percentage>

For example, the following keyword would permit up to 10% of the total data cache pages to be assigned to files on the special cache file list:

SPECIAL_CACHE_PERCENT 10

To disable any special cache, enter -1 for the percentage. The percentage defaults to 50% and the maximum amount that can be specified with the keyword is 90%.

For a bound server, the dspllmt member of the ctINIT structure may be used to override the 50% default. For a single-user, standalone application, the ct_dxspllmt must be set to the percentage before the system is initialized (which may require a call to RegisterCtree() if ctNOGLOBALS is defined).

TOCIndex