![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 436](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675436.webp)
Tuning Database Performance
436
Netscape Directory Server Administrator’s Guide • August 2002
Changing the Location of the Database
Transaction Log
By default, the database transaction log file is stored in the
serverRoot
/slapd-
serverID
/db
directory along with the database files themselves.
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:
1.
Stop the Directory Server.
For instructions, refer to “Starting/Stopping the Server From the Console,” on
page 36.
2.
Use the
ldapmodify
command-line utility to add the
nsslapd-db-logdirectory
attribute to the
cn=config,cn=ldbm
database,cn=plugins,cn=config
entry. Provide the full path to the log
directory in the attribute.
For information on the
nsslapd-db-logdirectory
attribute syntax, see the
Netscape Directory Server Configuration, Command, and File Reference. For
instructions on using
ldapmodify
, refer to “Adding and Modifying Entries
Using ldapmodify,” on page 57.
3.
Restart Directory Server.
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
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Page 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Page 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Page 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Page 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Page 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Page 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Page 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Page 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...