
Tuning Database Performance
Chapter 14
Tuning Directory Server Performance
485
directory databases after a disorderly shutdown and require more disk space due
to large database transaction log files. Therefore, you should only modify this
attribute if you are familiar with database optimization and can fully assess the
effect of the change.
To modify the checkpoint interval while the server is running, use the
ldapmodify
command-line utility to add the
nsslapd-db-checkpoint-interval
attribute to
the
cn=config,cn=ldbm database,cn=plugins,cn=config
entry.
For more information on the syntax of the
nsslapd-db-checkpoint-interval
attribute, refer to the
Red Hat Directory Server Configuration, Command, and File
Reference
. For instructions on using
ldapmodify
, refer to “Adding and Modifying
Entries Using ldapmodify,” on page 58.
Disabling Durable Transactions
Durable transaction logging means that the temporary database transaction log is,
in fact, physically written to disk.
When durable transaction logging is disabled, every directory database operation
is written to the database transaction log file but may not be physically written to
disk immediately. If a directory change was written to the logical database
transaction log file but not physically written to disk at the time of a system crash,
you cannot recover the change. When durable transactions are disabled, the
recovered database is consistent but does not reflect the results of any LDAP write
operations that completed just before the system crash.
By default, durable database transaction logging is enabled. To disable durable
transaction logging, use the following procedure:
1.
Stop the Directory Server.
For instructions, refer to “Starting and Stopping the Server from the
Command-Line,” on page 38.
2.
Use the
ldapmodify
command-line utility to add the
nsslapd-db-durable-transactions
attribute to the
cn=config,cn=ldbm
database,cn=plugins,cn=config
entry, and set the value of this attribute to
off
.
For information on the syntax of the
nsslapd-db-durable-transactions
attribute, see the
Red Hat Directory Server Configuration, Command, and File
Reference
. For instructions on using
ldapmodify
, refer to “Adding and
Modifying Entries Using ldapmodify,” on page 58.
3.
Restart the Directory Server.
Summary of Contents for DIRECTORY SERVER 7.1
Page 1: ...Administrator s Guide Red Hat Directory Server Version7 1 May 2005 Updated February 2009 ...
Page 20: ...20 Red Hat Directory Server Administrator s Guide May 2005 Glossary 619 Index 635 ...
Page 22: ...22 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 26: ...26 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 78: ...Maintaining Referential Integrity 78 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 200: ...Assigning Class of Service 200 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 488: ...488 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 528: ...PTA Plug in Syntax Examples 528 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 572: ...572 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 612: ...Examples of LDAP URLs 612 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 634: ...634 Red Hat Directory Server Administrator s Guide May 2005 ...