Changing The Location Of The Database Transaction Log; Changing The Database Checkpoint Interval - Netscape DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Tuning Database Performance
Changing the Location of the Database
Transaction Log
By default, the database transaction log file is stored in the
serverRoot/slapd-serverID/db
Because the purpose of the transaction log is to aid in the recovery of a directory
database that was shut down abnormally, it is a good idea to store the database
transaction log on a different disk from the one containing the directory database.
Storing the database transaction log on a separate physical disk may also improve
directory performance.
To change the location of the database transaction log file, use the following
procedure:
Stop the Directory Server.
1.
For instructions, refer to "Starting/Stopping the Server From the Console," on
page 36.
Use the
2.
nsslapd-db-logdirectory
database,cn=plugins,cn=config
directory in the attribute.
For information on the
Netscape Directory Server Configuration, Command, and File Reference. For
instructions on using
Using ldapmodify," on page 57.
Restart Directory Server.
3.

Changing the Database Checkpoint Interval

At regular intervals, the Directory Server writes operations logged in the
transaction log to the disk, and logs a checkpoint entry in the database transaction
log. By indicating which changes have already been written to the directory,
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
436
Netscape Directory Server Administrator's Guide • August 2002
directory along with the database files themselves.
command-line utility to add the
ldapmodify
attribute to the
nsslapd-db-logdirectory
ldapmodify
cn=config,cn=ldbm
entry. Provide the full path to the log
attribute syntax, see the
, refer to "Adding and Modifying Entries

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents