Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

Collecting Memory File Statistics

Memory file statistics are available through the FairCom DB command-line utility ctstat using the ‑m switch, discussed in the topic titled ctstat - Statistics Utility.

Memory file statistics can also be collected using the SnapShot() function call discussed here in the SnapShot topic. See the details for the ctGFMS structure where the following memory file values are maintained:

  • memcnt: current number of memory records
  • hghcnt: highest number of memory records
  • phyrec: current total memory allocated for memory records
  • mhghbyt: highest amount of memory allocated for memory records