Product Documentation

c-treeACE V10.0 Update Guide

Previous Topic

Next Topic

Permit Physical ISAM Files to Remain Open

An enhancement now permits physical ISAM files to remain open even after all users have closed them. When a non-memory file is physically closed, that is, all users have closed the file for their use, c-treeACE normally removes the data cache and/or index buffer entries associated with the file. An ability to “hold” the file open would retain the cache contents for quicker retrieval on re-open.

Memory files already employ the option of staying open after all users have closed them to avoid losing the contents of the file such that their contents can be accessed by subsequent opens. This KEEPOPEN feature is now extended to non-memory files. With this, physical ISAM data and index files can be designated as KEEPOPEN files, and retain their data cache and index buffers. It also eliminates a physical open when the next user opens the file. The ctCLSNAM() API call can be made to finally physically close the files when they no longer require their contents cached.

TOCIndex