The replication purge delay specifies the period after which the server purges replication server database changes. Any change that is older than the purge delay is removed from the replication server database regardless of whether the change has been applied.
Currently, server sets the default purge delay to one day. Administrators can change the default purge delay using the dsconfig tool.
To ensure proper replication processing, you must have the same purge delay value set for all replication servers in the topology.
To change the purge delay, choose from one of the following options:
- Use the dsconfig tool.
- Use the dsconfig tool in interactive mode:
- Open the Advanced objects menu.
- Select Replication Server.
- Select the replication synchronization provider.
- Select the option to change the replication purge delay.
The property accepts time units of seconds (s), minutes (m), hours (h), days (d), or weeks (w).
The following command changes the purge delay from the default of one day to two days.
$ bin/dsconfig set-replication-server-prop \ --provider-name "Multimaster Synchronization" \ --set "replication-purge-delay:2 d"