Each uniquely named Record Store instance has its own
configuration settings. You can run the
get-configuration task of the Record Store
Command-line Utility to save the configuration settings to a file, or you can
create the file manually.
You then modify the configuration properties in the file and then run
the
set-configuration task to apply the
configuration changes to a particular Record Store instance. Changes to the
properties take effect immediately.
Note
If you change the
btreePageSize,
changePropertyNames,
idPropertyName,
jdbmSettings, or
recordCompressionEnabled properties, the Record
Store deletes all stored data.
To configure a Record Store instance:
Start a command prompt and navigate to
.<install path>\CAS\<version>\binType
recordstore-cmdand specify theget-configurationtask with the name of a Record Store instance and the XML file name where you want to save the configuration settings.This Windows example gets the configuration for a Record Store named
productdata:recordstore-cmd.bat get-configuration -a productdata -f C:\tmp\config.xml -n
In a text editor, open the configuration file and modify the property values as described in Configuration properties for a Record Store instance.
In the command prompt window, type
recordstore-cmdand specify theset-configurationtask with the name of a Record Store instance and the XML file name that contains the configuration settings.This example sets the configuration for a Record Store named
productdata:recordstore-cmd.bat set-configuration -a productdata -f C:\tmp\config.xml

