Red Hat Training

A Red Hat training course is available for Red Hat Directory Server

5.4. Specifying Transaction Batching

To improve update performance when full transaction durability is not required, use the nsslapd-db-transaction-batch-val attribute to specify how many transactions will be batched before being committed to the transaction log. Setting this attribute to a value of greater than 0 causes the server to delay committing transactions until the number of queued transactions is equal to the attribute value. This is similar to disabling durable transaction logging (in the nsslapd-db-durable-transaction attribute), but setting the batch value gives more control over how many transactions can be potentially lost.
To specify or modify transaction batching while the server is running, use the ldapmodify command-line utility to add the nsslapd-db-transaction-batch-val attribute to the cn=config,cn=ldbm database,cn=plugins,cn=config entry.
# ldapmodify -D "cn=Directory Manager" -W -x

dn: cn=config,cn=ldbm database,cn=plugins,cn=config
changetype: modify
add: nsslapd-db-transaction-batch-val
nsslapd-db-transaction-batch-val: 1
For more information on the syntax and values of the nsslapd-db-transaction-batch-val attribute, see the Red Hat Directory Server Configuration, Command, and File Reference.