Nsslapd-db-idl-divisor, Warning, Nsslapd-db-logbuf-size – Red Hat 8.1 User Manual

Page 124: Nsslapd-db-logdirectory

Advertising
background image

database cache size being configured for the server. If this happens, reduce the size of the database
cache size to a value where the server will start again.

Parameter

Description

Entry DN

cn=config, cn=ldbm database, cn=plugins,
cn=config

Valid Values

Any valid directory name in a tempfs filesystem,
such as /tmp

Default Value
Syntax

DirectoryString

Example

nsslapd-db-home-directory: /tmp/slapd-
phonebook

3.4 .1.11. nsslapd-db-idl-divisor

This attribute specifies the index block size in terms of the number of blocks per database page. The
block size is calculated by dividing the database page size by the value of this attribute. A value of 1
makes the block size exactly equal to the page size. The default value of 0 sets the block size to the
page size minus an estimated allowance for internal database overhead. For the majority of installations,
the default value should not be changed unless there are specific tuning needs.

Before modifying the value of this attribute, export all databases using the db2ldif script. Once the
modification has been made, reload the databases using the ldif2db script.

WARNING

This parameter should only be used by very advanced users.

Parameter

Description

Entry DN

cn=config, cn=ldbm database, cn=plugins,
cn=config

Valid Range

0 to 8

Default Value

0

Syntax

Integer

Example

nsslapd-db-idl-divisor: 2

3.4 .1.12. nsslapd-db-logbuf-size

This attribute specifies the log information buffer size. Log information is stored in memory until the
buffer fills up or the transaction commit forces the buffer to be written to disk. Larger buffer sizes can
significantly increase throughput in the presence of long running transactions, highly concurrent
applications, or transactions producing large amounts of data. The log information buffer size is the
transaction log size divided by four.

The nsslapd-db-logbuf-size attribute is only valid if the nsslapd-db-durable-transactions
attribute is set to on.

Parameter

Description

Entry DN

cn=config, cn=ldbm database, cn=plugins,
cn=config

Valid Range

32K to maximum 32-bit integer (limited to the
amount of memory available on the machine)

Default Value

32K

Syntax

Integer

Example

nsslapd-db-logbuf-size: 32K

3.4 .1.13. nsslapd-db-logdirectory

This attribute specifies the path and directory name of the directory containing the database transaction
log. The database transaction log contains a sequential listing of all recent database operations and is
used for database recovery only. By default, the database transaction log is stored in the same directory
as the directory entries themselves, /var/lib/dirsrv/slapd-instance_name/db. For fault-
tolerance and performance reasons, move this log file to another physical disk. The nsslapd-db-
logdirectory
attribute is absent from dse.ldif. To change the location of the database transaction
log, add the attribute to dse.ldif.

For more information on database transaction logging, refer to the "Monitoring Server and Database
Activity" chapter in the Directory Server Administrator's Guide.

124

Chapter 3. Plug-in Implemented Server Functionality Reference

Advertising