--On Friday, May 24, 2024 12:30 PM -0700 Quanah Gibson-Mount <[email protected]> wrote:



--On Friday, May 24, 2024 3:24 PM +0000 BECOT Jérôme
<[email protected]> wrote:


I wonder if increasing the frequency will also have a positive effects
(as the though here is that there will be less entries to delete).
I think that allocated pages in the mdb database won't change. Is there a
safe way to reduce the db size ?

Increasing the frequency has helped for me in the past.

On the first question - you can stop slapd, export the accesslog to ldif, delete the accesslog mdb files, and then re-import the accesslog. This will reset the database size. I would do this after you've made your other adjustments so that the actual LDIF export is in line with what the updated expectations are.

I would also note, that in OpenLDAP 2.6+, "standard" syncrepl is the safer replication mechanism for multi-provider environments. While in the past, I always went with delta-syncrepl, for my last roles, I've used OpenLDAP 2.6 + standard syncrepl.

--Quanah

Reply via email to