[389-users] id2entry.db4 very large

Noriko Hosoi nhosoi at redhat.com
Mon Feb 8 16:43:28 UTC 2010


On 02/08/2010 08:16 AM, Giovanni Mancuso wrote:
> Hi,
>
> i have in my Directory Server the id2entry.db4 file that is 9,8GB:
>
> # ls -hl id2entry.db4
> -rw------- 1 nobody nobody 9.8G Feb  8 15:11 id2entry.db4
>
> But in my ldap i have only 33 entry:
>
> #  ldapsearch -T -vvv -H ldaps://127.0.0.1 -x  -Z -b 
> "o=addressbook1"|grep -ri dn |wc -l
> 33
>
> I previously had more entries in my DS but now i delete all entries...
>
> Is not id2entry.db4 cleaned automatically?
No, it is not.
>
> Can i clean it manually?
To shrink the size, could you export the db with db2ldif and import it 
back with ldif2db?
>
> Thanks
>
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20100208/9ac3d6d9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6646 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20100208/9ac3d6d9/attachment.p7s>


More information about the 389-users mailing list