Delta Databases

A delta database allows you to make non-permanent (or tentative) changes to an SDS primary database, an SDS secondary database, or an RPS database in read-only mode.

When you activate delta database mode, a new empty database called a delta database is created and the original database, which referred to as the root database, is converted to a read-only state.

When a database is in delta mode:

The delta database is located in the deltadb subdirectory of the root database path.

When you deactivate delta database mode, the delta database is removed and all updates made in delta mode are discarded.

The delta database can be recovered; that is, if the server node is restarted while the delta database is active, any updates are still present when the node is available again.

To start using delta database functionality, server nodes must be specified to be delta database-capable, by specifying the DeltaDatabaseCapable command with a value of true in the [JadeServer] section of the JADE initialization file on the server node.

Set the ResetDeltaModeOnRestart parameter in the [JadeServer] section to true if on restart, you want the database server node to take the root database out of delta mode and restart in normal mode (that is, to not use the delta database). This effectively results in the contents of the delta database being lost on server restart, as it is always recreated whenever activated. By default, if the database server node is terminated while in delta mode, it attempts to activate the delta database when it restarts.

To activate or deactivate a delta database dynamically from your application logic: