5.4. The Referential Integrity Update Interval
5.4. The Referential Integrity Update Interval By default, the server performs Referential Integrity updates immediately after a delete or rename 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. You can set the update 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 In multi-supplier replication environment, Red Hat recommends setting the update interval to 0 on all suppliers. Note On a supplier, if you set the interval to a value greater than 0 (for example, 5) there is a chance that the supplier receives a direct delete or rename operation, replicate the operation, and go offline before it cleans up the references to the target entry. In such cases, the rest of the topology still contains references to the target entry until the server is up again (possibly longer than 5 sec). 5.4.1. Displaying the Update Interval Using the Command Line To display the update interval using the command line to: 5.4.2. Displaying the Update Interval Using the Web Console To display the update interval using the web console: Open the Directory Server user interface in the web console. See Section 1.4, "Logging Into Directory Server Using the Web Console" . Select the instance. Open the Plugins menu. Select the Referential Integrity plug-in. See the Update Delay field for the update interval. 5.4.3. 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 update interval to 0 : Restart the instance: 5.4.4. Modifying the Update Interval Using the Web Console To set the update interval using the web console, for example, to update immediately: Open the Directory Server user interface in the web console. See Section 1.4, "Logging Into Directory Server Using the Web Console" . Select the instance. Open the Plugins menu. Select the Referential Integrity plug-in. Set the interval in the Update Delay field. Press Save Config . Restart the instance. See Section 1.5.2, "Starting and Stopping a Directory Server Instance Using the Web Console" .
dsconf -D "cn=Directory Manager" ldap://server.example.com plugin referential-integrity show referint-update-delay: 0 dsconf -D "cn=Directory Manager" ldap://server.example.com plugin referential-integrity set --update-delay=0 dsctl instance_name restart