Nsslapd-Db-Logfile-Size; Nsslapd-Db-Page-Size - Netscape DIRECTORY SERVER 7.0 Configuration Manual

Configuration, command, and file reference
Hide thumbs Also See for NETSCAPE DIRECTORY SERVER 7.0:
Table of Contents

Advertisement

Database Plug-in Attributes
For more information on database transaction logging, see chapter 12,
"Monitoring Server and Database Activity," in the Netscape Directory Server
Administrator's Guide.
Entry DN:
Valid Values:
Default Value:
Syntax:
Example:

nsslapd-db-logfile-size

Specifies the maximum size of a single file in the log in bytes. By default, or if the
value is set to 0, a maximum size of 10 MB is used. The maximum size is an
unsigned 4-byte value. The value of this attribute can have significant impact on
performance, as it can be tuned to avoid extensive log switching in the event of
heavy entries.
Entry DN:
Valid Range:
Default Value:
Syntax:
Example:

nsslapd-db-page-size

Specifies the size of the pages used to hold items in the database in bytes. The
minimum size is 512 bytes, and the maximum size is 64Kbytes. If the page size is
not explicitly set, Directory Server defaults to a page size of 8Kbytes. Changing
this default value can have signficant performance impact. If the page size is too
small, it results in extensive page splitting and copying, whereas if the page size is
too large it can waste disk space.
Before modifying the value of this attribute, export all databases using the
db2ldif
the
ldif2db
160
Netscape Directory Server Configuration, Command, and File Reference • October 2004
cn=config,cn=ldbm database,cn=plugins,cn=config
Any valid path and directory name
N/A
DirectoryString
nsslapd-db-logdirectory: /logs/txnlog
cn=config,cn=ldbm database,cn=plugins,cn=config
0 to unsigned 4-byte integer
10MB
Integer
nsslapd-db-logfile-size: 10 MB
script. Once the modification has been made, reload the databases using
script.

Advertisement

Table of Contents
loading

Table of Contents