[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Does MDB backend shrinks on disk files after delete operation?
- To: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: Does MDB backend shrinks on disk files after delete operation?
- From: "Igor Zinovik" <zinovik.igor@gmail.com>
- Date: Wed, 16 Oct 2013 23:18:29 +0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:to:date:subject:mime-version:content-transfer-encoding :from:message-id:user-agent; bh=biMu4srj/ezH9U5p59UmhcbCODZHAEl9yk2wTUc0wQc=; b=Xdw7WBMKaj9MtDpoZ+W1YlPEqeoZLVnl3gEkDQ8sLpVuOIU/2eMA82Q26+Ji61GVHs JBI9NrWj6vblf5ZV12eMJrAZHDY9A1/HtHRpzG9suKZV4vnuipEYeqZo7v6DrtdU9Npe EtGXUZqZMKxLjutFFQ2wq+gU/anXxmQO9Cey+XxEUfr9cpFp+IGaqtOnbSG9KrgGbTt9 grHtfSHxPPpnwu+X9cws77/1Mca4AYvuZlDzhfhE0OSkG1c9oAXFwB1tbi4ngP4bFqCZ 6VW4R4TC4SXaEOXB/cdqnJqT62y7VKjHFpKIkF3eW5d7zsFtyFfdTsC3g3HLinGqkKFn wGZg==
- User-agent: Opera Mail/1.0 (Win32)
Hello.
I would like to understand one thing about mdb backend:
Current size of /var/lib/ldap is 15 megabytes (~ 10000 entries).
After i added to my database 1839 entries on disk directory size
becomes 93 megabytes. But when i delete all 1839 entires mdb does
not free disk space, my /var/lib/ldap is still 93 megabytes in size.
It does not remove data and just marks it as 'free' meaning that it is
reusable for new write operations?
I use mdb from openldap 2.4.33