Products Support Documentation Download
In-Memory Database

Configuration options are specified to RDM using key/value pairs. While the different RDM API sets each have a function to specify a configuration key/value pair the pairs used for configuration are consistent across the APIs. The key used for specifying the storage engine configuration when opening a database is called storage. If the database is not open on the hosting TFS, it will be opened with the specified storage configuration value. If the database is already opened on the hosting TFS then the storage configuration value specified must match the storage configuration currently in use. A client that requests to open a database using a storage configuration value other than the one currently in use will get an error code.

The following storage values are supported:

Value Description
ondisk Use the disk-based engine
inmemory_volatile Use the in-memory engine. The database is empty when the first client opens it and all contents are discarded when the last client closes it.
inmemory_load Use the in-memory engine. The database contents are loaded from disk when the first client opens it and contents are not automatically saved when the last client closes it.
inmemory_keep Use the in-memory engine. The database is empty when the first client opens it and any rows in the database will be written to disk when the last client closes it. Any existing disk-based files will be overwritten by the contents of the in-memory database.
inmemory_persist Use the in-memory engine. The database contents are loaded from disk when the first client opens it and contents are automatically saved when the last client closes it.