Product Documentation

c-treeACE V10.0 Update Guide

Previous Topic

Next Topic

File Resource Fork - Direct Access Resource (DAR)

c-treeACE has long supported an ability to store “resource” records in a file. This resembles a similar approach taken by Apple Macintosh files that originally included both a “data” fork and a “resource” fork.

Resource forks store non-volatile data. Some people think of them as an “extended header” of a file. c-treeACE has supported “resource” forks for records to store various types of information including data schemas. However, in contrast to the main file header, these resources are not designed for high-speed access. A new design was required for fast access and updates.

To this end, a new special-purpose resource was introduced: the Direct Access Resource (DAR). The c-treeACE IDENTITY feature (auto-increment fields) takes advantage of this new feature and experiences performance similar to the primary header portion of the file. This performance was not possible with the prior existing resource or SRLSEG index features.

If you encounter a situation where you need to store metadata in the resource portion of a file and require high-speed access, check out the new DAR support.

Note: Files created with c-treeACE post V9.2 include this DAR resource by default. Older applications and utilities may not always recognize this new resource.

TOCIndex