3.4.1.16nsslapd-db-spin-count

This attribute specifies the number of times that test-and-set mutexes should spin without blocking.

CAUTION:

Never touch this value unless you are very familiar with the inner workings of Berkeley DB or are specifically told to do so by HP support.

Parameter

Description

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

3.4.1.17nsslapd-db-transaction-batch-val

This attribute specifies how many transactions will be batched before being committed. This attribute can improve update performance when full transaction durability is not required. This attribute can be dynamically modified using the ldapmodify command. For further information on modifying this attribute, refer to the "Tuning Directory Server Performance" chapter in the HP-UX Directory Server administrator guide.

CAUTION:

Setting this value will reduce data consistency and may lead to loss of data. This is because if there is a power outage before the server can flush the batched transactions, those transactions in the batch will be lost.

Do not set this value unless specifically requested to do so by HP support.

If this attribute is not defined or is set to a value of 0, transaction batching will be turned off, and it will be impossible to make remote modifications to this attribute through 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 modififications to this attribute remotely through LDAP. A value of 1 for this attribute allows modifications to the attribute setting remotely through 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 for this attribute may require modifying the nsslapd-db-logbuf-sizeattribute to ensure sufficient log buffer size for accommodating the batched transactions.

3.4 Database plug-in attributes 139

Page 139
Image 139
HP UX Identity Security Software manual Nsslapd-db-spin-count, Nsslapd-db-transaction-batch-val