Database Plug-in Attributes
172 Red Hat Directory Server Configuration, Command, and File Reference • May 2005
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. If you attempt to set a value
that is not a number or is too big for a 32-bit signed integer, you will receive an
LDAP_UNWILLING_TO_PERFORM
error message, with additional error information
explaining the problem.
Entry DN: cn=config,cn=ldbm database,cn=plugins,cn=config
Valid Values: 1 to 4
Default Value: 1
Syntax: Integer
Example: nsslapd-dbncache: 1
NOTE A cache is created for each load that occurs. For example, if the user
sets the
nsslapd-import-cachesize
attribute to 1Gbyte, then
1Gbyte is used when loading one database, 2Gbyte is used when
loading 2 databases, and so on. Ensure that you have sufficient
physical memory to prevent swapping from occuring, as this
would result in performance degradation.
Entry DN: cn=config,cn=ldbm database,cn=plugins,cn=config
Valid Range: 500Kbyte to 4Gbyte for 32-bit platforms and 500Kbyte to 2^64-1 for
64-bit platforms
Default Value: 20 000 000
Syntax: Integer
Example: nsslapd-import-cachesize: 20 000 000