LX0-104 · Question #431
Which of the following parameters in slapd.conf are used to tune the database cache size? (Choose TWO answers.)
The correct answer is B. dbcachesize D. cachesize. In OpenLDAP's slapd.conf, the dbcachesize and cachesize parameters are used to configure the size of the database cache.
Question
Options
- Adcachesize
- Bdbcachesize
- Cdatabasecachesize
- Dcachesize
How the community answered
(16 responses)- A6% (1)
- B94% (15)
Why each option
In OpenLDAP's slapd.conf, the dbcachesize and cachesize parameters are used to configure the size of the database cache.
dcachesize is not a standard or recognized parameter in slapd.conf for tuning database cache sizes.
The dbcachesize directive in OpenLDAP's slapd.conf is used to specify the size of the database cache, typically referring to the BDB/HDB backend's cache for database pages, improving performance by holding frequently accessed data in memory.
databasecachesize is not a standard or recognized parameter in slapd.conf for tuning database cache sizes.
The cachesize directive is another parameter found in slapd.conf that influences the size of the database cache, often used for controlling the entry cache within the LDAP server, which stores parsed entries for faster retrieval.
Concept tested: OpenLDAP database cache configuration
Source: https://linux.die.net/man/5/slapd.conf
Topics
Community Discussion
No community discussion yet for this question.