3.4.1.24 nsslapd-idlistscanlimit

This performance-related attribute, present by default, specifies the number of entry IDs that are searched during a search operation. Attempting to set a value that is not a number or is too big for a 32-bit signed integer returns an LDAP_UNWILLING_TO_PERFORM error message, with additional error information explaining the problem.

It is advisable to keep the default value to improve search performance. For a more detailed explanation of the effect of ID lists on search performance, refer to the "Managing Indexes" chapter in the HP-UX Directory Server administrator guide.

The server has to be restarted for changes to this attribute to go into effect.

Parameter

Description

Entry DN

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

 

 

Valid Range

100 to the maximum 32-bit integer value (2147483647) entry IDs

 

 

Default Value

4000

 

 

Syntax

Integer

 

 

Example

nsslapd-idlistscanlimit: 4000

 

 

3.4.1.25 nsslapd-import-cachesize

This performance tuning-related attribute determines the size of the database cache used in the bulk import process. Setting this attribute value so that the maximum available system physical memory is used for the database cache during bulk importing optimizes bulk import speed.

Attempting to set a value that is not a number or is too big for a 32-bit signed integer returns an LDAP_UNWILLING_TO_PERFORM error message, with additional error information explaining the problem.

NOTE:

A cache is created for each load that occurs. For example, if the user sets the nsslapd-import-cachesizeattribute to 1 gigabyte, then 1 gigabyte is used when loading one database, 2 gigabytes is used when loading two databases, and so on. Ensure there is sufficient physical memory to prevent swapping from occurring, as this would result in performance degradation.

Parameter

Description

Entry DN

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

 

 

Valid Range

500 kilobytes to 4 gigabytes for 32-bit platforms and 500 kilobytes to 2^64-1 for 64-bit

 

platforms

 

 

Default Value

20 000 000

 

 

Syntax

Integer

 

 

Example

nsslapd-import-cachesize: 20 000 000

 

 

3.4.1.26 nsslapd-import-cache-autosize

This performance tuning-related attribute automatically sets the size of the import cache

(importCache) to be used during the command-line-based import process of LDIF files to the database (the ldif2db operation).

In Directory Server, the import operation can be run as a server task or exclusively on the command-line. In the task mode, the import operation runs as a general Directory Server operation. The nsslapd-import-cache-autosize attribute enables the importCache to

142 Plug-in implemented server functionality reference