Database Plug-in Attributes
Chapter 3 Plug-in Implemented Server Functionality Reference 169
nsslapd-db-spin-count
Specifies the number of times that test-and-set mutexes should spin without
blocking.
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
ldapmodify
. For
further information on modifying this attribute, see chapter 14, “Tuning Directory
Server Performance,” in the Red Hat 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
behavior. 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. Remember that the value you choose for this attribute may
require you to modify the
nsslapd-db-logbuf-size
attribute to ensure sufficient
log buffer size for accommodating your batched transactions.
Also, the
nsslapd-db-transaction-batch-val
attribute is only valid if the
nsslapd-db-durable-transaction
attribute is set to
on
.
Default Value: 8KB
Syntax: Integer
Example: nsslapd-db-page-size: 8KB
Entry DN: cn=config,cn=ldbm database,cn=plugins,cn=config
Valid Range: 0 to 2^31-1
Default Value: 0
Syntax: Integer
Example: nsslapd-db-spin-count: 0