DELAY_APPLY Configuration Parameter
Use the DELAY_APPLY configuration parameter to configure RS secondary servers to wait for a specified period of time before applying logs.
- onconfig.std value
- DELAY_APPLY 0
- default value
- 0
- values
- 0 = Apply logs
- takes effect
- After you edit your onconfig file and restart the database server.
Usage
Delaying the application of log files allows you to recover quickly from erroneous database modifications by restoring the data from the RS secondary server. When setting the value of DELAY_APPLY you must also set LOG_STAGING_DIR. If DELAY_APPLY is configured and LOG_STAGING_DIR is not set to a valid and secure directory, then the server cannot be initialized.
You must specify a valid and secure location for the log files by setting the LOG_STAGING_DIR configuration parameter. The logs in the staging directory are purged after the last checkpoint has been processed on the RS secondary server.
To see information about the data being sent to the log-staging directory set for a RS secondary server, run the onstat -g rss verbose command on the RS secondary server.
If the write to the staging file fails, the RS secondary server raises event alarm 40007.
If a remote stand-alone secondary (RSS) server has its DELAY_APPLY configuration parameter set to a value other than 0, that server cannot use cluster transaction coordination.