[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
How correctly convert ldif dump size to mdb olcDbMaxSize value
- To: openldap-technical@openldap.org
- Subject: How correctly convert ldif dump size to mdb olcDbMaxSize value
- From: Ikonta <ikonta@yandex.ru>
- Date: Tue, 28 Feb 2017 14:48:23 +0300
- Authentication-results: mxback5m.mail.yandex.net; dkim=pass header.i=@yandex.ru
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1488282503; bh=ovu750HYbObN7bX6vpos8XPjzh4WtGlWraFb7O8kQwY=; h=From:To:Subject:Message-Id:Date; b=sebBQZ7784eEm6S5D662GxNAytfqVIVvJTGQAml7Dd09wV0wbYzBI57MblCj7h/v+ v4tfAkg5BEWz0Sl2ww5g7zAl8j1kcv70YiePDuI/f4zZ1eA9aSHm6jcdiyxi/Oa2hy AGRVgkNnQoqD8G/E7plK9+W+yK9m0qSR89BCxnSY=
Hi everybody,
I use simple OpenLDAP installation (two servers in mirror mode, something above 30000 leafs tree).
Some time ago I've migrated it to mdb backend.
The database dump in ldif weight about 300M.
Initially I've set olcDbMaxSize to 2147483648 bytes (2G).
Imported into directory it became about 450M data.mdb on node1 and after mirror synced — 1.5G replicated data.mdb on node2.
Why instances database sizes are so different?
Am I right guessing olcDbMaxSize is maximum size of data.mdb file?
And how should I, starting with present and perspective ldif dump size, count proper value of olcDbMaxSize?
For example, if I expect ldif dump may grow up to 500 M?
WBR