--On Thursday, May 6, 2021 12:47 PM -0700 Zetan Drableg <zetan.drab...@gmail.com> wrote:



What accounts for MDB free/unused page growth? We make lots of
incremental inserts and removals (Add new user, add user to group,
remove user from group, remove user). Removal actions seem to trigger
the query latency.

Your described write traffic pattern is known to cause fragmentation in the database (which causes there to be a large number of free pages). OpenLDAP 2.5 has features to address this, specifically the multival settings. See slapd-mdb(5) for OpenLDAP 2.5.

Generally you would likely want to configure both that and sortvals on your deployment once you're on OpenLDAP 2.5.

Regards,
Quanah



--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>

Reply via email to