Show Table of Contents
5.4. Modifying the Update Interval
By default, the server performs Referential Integrity updates immediately after a
delete or a modrdn operation. Depending on the amount of operations, this can cause a performance impact. To reduce the performance impact, you can increase the amount of time between updates.
Set the interval in seconds. Alternatively, you can set the following values:
0: The check for referential integrity is performed immediately.-1: No check for referential integrity is performed.
Important
If you set the update interval to
0, you can only enable the plug-in on all masters in a multi-master replication environment if you also set their Referential Integrity Postoperation plug-in's update interval to 0. However, if you configure a positive value on one master, you must not enable the plug-in on any other master to prevent replication loops and directory inconsistencies.
If you want to enable the plug-in in a multi-master replication environment, Red Hat recommends setting the update interval to
0 and to enable the plug-in on all masters.
5.4.1. Modifying the Update Interval Using the Command Line
To set the update interval using the command line to, for example, to update immediately:
- Set the interval in seconds in the
referint-update-delayparameter:# ldapmodify -D "cn=Directory Manager" -W -x dn: cn=referential integrity postoperation,cn=plugins,cn=config changetype: modify replace: referint-update-delay referint-update-delay: 0
- Restart the Directory Server instance:
# systemctl restart dirsrv@instance_name
Referential Integrity can only be enabled on one master. If you set the interval to
0, Directory Server cleans up references replicates these changes to all consumers immediately. If you set the interval to a value greater than 0, and the master who has Referential Integrity enabled is offline, the references are not cleaned up before this master is up again.
5.4.2. Modifying the Update Interval using the Console
To set the update interval using the Console:
- Open the Property Editor in the Referential Integrity Postoperation plug-in's configuration. For details, see Section 1.9.3.2, “Configuring Plug-ins using the Console”.
- Set the interval in seconds in the
referint-update-delayparameter. - Restart the Directory Server instance. See Section 1.4.2, “Starting and Stopping a Directory Server Instance Using the Console”.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.