Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

Allocating Memory for Data/Index Caches

In general, FairCom Server cache is easy to configure. By placing the following keywords in the FairCom Server configuration, the Server Administrator defines the memory size for both data and index caches. The values represent bytes. This example sets each cache to 20MB:

IDX_MEMORY 20000000

DAT_MEMORY 20000000

Because the default value is very low (250,000 bytes), it is strongly recommended to specify an increased cache size. The FairCom Server keeps the most recently accessed data in memory using a “most-recently-used” scheme to determine which pages remain in memory and which do not. FairCom Server cache-management techniques allow the server administrator to set the cache sizes as high as reasonably possible, without defeating the purpose of enhancing performance.

TOCIndex