Service manual
Transaction Logging
148 Sun ONE Directory Server Installation and Tuning Guide • June 2003
Refer to the Sun ONE Directory Server Reference Manual for details concerning
individual configuration attributes.
Table 8-7 Tuning Recommendations for Transaction Logging
Configuration Entry DN and Configuration Attribute Short Description and Tuning Recommendations
dn: cn=config,cn=ldbm
database,cn=plugins,cn=config
nsslapd-db-checkpoint-interval
Specifies how often Directory Server checkpoints the
transaction log, ensures the entire database system is
synchronized to disk,and cleans up transaction logs.
Leave at 60 (default interval in seconds) unless
database performance optimization based on
empirical testing calls for adifferent value. Increasing
the value of this attribute may result ina performance
boost for update operations, but also means that
recovery after disorderly shutdown takes longer, and
that the transaction log uses more disk space.
dn: cn=config,cn=ldbm
database,cn=plugins,cn=config
nsslapd-db-durable-transaction
Specifieswhether updateoperationsare committed to
the transaction log on disk before result codes aresent
to clients.
Leave on (default) for deployments requiring a high
level of data integrity. Durable transaction logging
may be disabled for some deployments to boost
performance. When it is disabled, however, log
messages flushed to the file system but not yet to disk
may be lost in the event of a system crash. This means
that with durable transaction logging off,some
updates may be unrecoverable even after the client
receives a successful update result code.
dn: cn=config,cn=ldbm
database,cn=plugins,cn=config
nsslapd-db-logdirectory
Specifies the path and filename of the transaction log.
Consider storing the transaction log on its own very
fast disk or disk subsystem, with its own controller.