[Date Prev][Date Next]
Re: Growing database files
Yup, that's they way they work. It would be a severe performance
penalty to do the garbage collection it would require to shrink the
files. The space will be reused when you add new objects.
If you really want to shrink the files in this case, then you need
to use ldbmcat to dump the database, and then reload it with ldif2ldbm.
> When I add(ldap_add) entries to my slapd server, I see the size of the files
> in the database directory increase, but if I delete the entries(ldap_delete)
> these files do not shrink.
> Even if I remove all the items from the directory, the file sizes remain
> What's left in these files when there are no more entries in the database?
> Do I misunderstand what it means to delete an entry?
> Jeff Weinheimer
> Get Your Private, Free Email at http://www.hotmail.com