Configuring a Record Store instance

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:

  1. Start a command prompt and navigate to <install path>\IAS\<version>\bin.
  2. Type recordstore-cmd and specify the get-configuration task 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
  3. In a text editor, open the configuration file and modify the property values as described in Configuration properties for a Record Store instance.
  4. Save and close the configuration file.
  5. In the command prompt window, type recordstore-cmd and specify the set-configuration task 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