5.2. Changing the Database Checkpoint Interval
At regular intervals, the Directory Server writes operations logged in the transaction log to the database index files and logs a checkpoint entry in the database transaction log. By indicating which changes have already been written to the database indexes, checkpoint entries indicate where to begin recovery from the transaction log, thus speeding up the recovery process.
By default, the Directory Server is set up to send a checkpoint entry to the database transaction log every 60 seconds. Increasing the checkpoint interval may increase the performance of directory write operations. However, increasing the checkpoint interval may also increase the amount of time required to recover directory databases after a disorderly shutdown and require more disk space due to large database transaction log files. Therefore, only modify this attribute if you are familiar with database optimization and can fully assess the effect of the change.
5.2.1. Changing the Database Checkpoint Interval Using the Command Line
To change the database checkpoint interval using the command line, enter:
# dsconf -D "cn=Directory Manager" ldap://server.example.com backend config set --checkpoint-interval=120
This example changes the interval to 120 seconds.
5.2.2. Changing the Database Checkpoint Interval Using the Web Console
To change the database checkpoint interval using the Web Console:
- Open the Directory Server user interface in the web console. For details, see Logging Into Directory Server Using the Web Console section in the Red Hat Directory Server Administration Guide.
- Select the instance.
- On the Database tab, select Global Database Configuration.
- Click Show Advanced Settings.
- Update the value in the Database Checkpoint Interval field.
- Click Save Configuration.