--On Wednesday, January 18, 2023 6:31 PM +0530 Bhanush Mehta <[email protected]> wrote:



Hi Quanah


The current mdb data file is GB on disk. We are using XFS, we tried with
ext2 and ext4, we saw the same behavior for slow mods.

2376455:/var/lib/ldap$ sudo du -sh data.mdb
11G data.mdb
2376455:/var/lib/ldap$ sudo du -s data.mdb
10519776 data.mdb

The dump from slapcat is 200 MB approx. Whenever we add it to a new
instance, it balloons up to 10 GB and then stays around the same size.
local-backups$ du -sh ldapdump202301180000.ldif204M
ldapdump202301180000.ldif


Can DB size be a reason for slow mods? And, how do we investigate the
slow mod further?

One is a flat text file export of the database (.ldif)

The other is a set of binary data based off of the flat text file export, but includes things such as indices. You cannot correlate the two size wise.

If your binary database after an import with slapadd -q is ~11GB, than that's the "real" size of your database.

How much memory do you have on the system you're using?

I would note that it is not advised to use XFS with back-mdb.

--Quanah


Reply via email to