
Database Attributes under cn=config, cn=ldbm database, cn=plugins, cn=config
173
To configure a dbcache size larger than 4 gigabytes, add the
nsslapd-dbncache
attribute to
cn=config, cn=ldbm database, cn=plugins, cn=config
between the
nsslapd-
dbcachesize
and
nsslapd-db-logdirectory
attribute lines.
Set this value to an integer that is one-quarter (1/4) the amount of memory in gigabytes. For example,
for a 12 gigabyte system, set the
nsslapd-dbncache
value to
3
; for an 8 gigabyte system, set it to
2
.
This attribute is provided only for system modification/diagnostics and should be changed only with the
guidance of Red Hat technical support or Red Hat professional services. Inconsistent settings of this
attribute and other configuration attributes may cause the Directory Server to be unstable.
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 Values
1 to 4
Default Value
1
Syntax
Integer
Example
nsslapd-dbncache: 1
3.4.1.21. nsslapd-directory
This attribute specifies absolute path to database instance. If the database instance is manually
created then this attribute must be included, something which is set by default (and modifiable) in
the Directory Server Console. Once the database instance is created, do not modify this path as any
changes risk preventing the server from accessing data.
Parameter
Description
Entry DN
cn=config, cn=ldbm database, cn=plugins,
cn=config
Valid Values
Any valid absolute path to the database instance
Default Value
Syntax
DirectoryString
Example
nsslapd-directory: /var/lib/dirsrv/
slapd-
instance_name
/db
3.4.1.22. nsslapd-import-cachesize
This performance tuning-related attribute determines the size, in bytes, 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-cachesize
attribute to 1 gigabyte, then 1 gigabyte is used when loading one
Summary of Contents for 8.1
Page 8: ...viii ...
Page 14: ...xiv ...
Page 16: ...2 ...
Page 250: ...236 ...
Page 334: ...320 ...
Page 372: ...358 ...