Nsslapd-Db-Page-Size; Nsslapd-Db-Transaction-Batch-Val - Netscape DIRECTORY SERVER 6.0 Configuration Manual

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

Advertisement

Database Plug-in Attributes

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 64K bytes. If the page size is
not explicitly set, Directory Server defaults to a page size of 8K bytes. 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.
NOTE
Entry DN
Valid Range
Default Value
Syntax
Example

nsslapd-db-transaction-batch-val

Specifies how many transactions will be batched before being committed. You can
use this attribute to improve update performance when full transaction durability
is not required. This attribute can be dynamically modified using
further information on modifying this attribute, see Chapter 14, "Tuning Directory
Server Performance" in the Netscape Directory Server Administrator's Guide.
If you do not define this attribute or set it to a value of 0, transaction batching will
be turned off and it will be impossible to make remote modifications to this
attribute via LDAP. However, setting this attribute to a value greater than 0 causes
the server to delay committing transactions until the number of queued
transactions is equal to the attribute value. A value greater than 0 also allows you
to modify this attribute remotely via LDAP. A value of 1 for this attribute allows
you to modify the attribute setting remotely via LDAP, but results in no batching
behaviour. A value of 1 at server startup is therefore useful for maintaining normal
durability, while also allowing transaction batching to be turned on and off
remotely when desired. Bear in mind that the value you choose for this attribute
may require you to modify the
sufficient log buffer size for accommodating your batched transactions.
142
Netscape Directory Server Configuration, Command, and File Reference • December 2001
Before modifying the value of this attribute export all databases
using the
script. Once the modification has been made,
db2ldif
reload the databases using the
cn=config,cn=ldbm database,cn=plugins,cn=config
512 bytes to 64 K bytes
8K bytes
Integer
nsslapd-db-page-size: 8K bytes
nsslapd-db-logbuf-size
script.
ldif2db
attribute to ensure
. For
ldapmodify

Advertisement

Table of Contents
loading

Table of Contents