[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: lots of big files in bdb directory



Jukka Salmi writes:
> on a Linux system running OpenLDAP 2.1.23 I noticed the directory which
> I specified in the 'directory' statement of a bdb database containing
> lots of files matching log\.[0-9]{10}, starting with log.0000000001.
> Each of these files is 10MB.
> 
> What are these files for? I'd like to delete some of them because I'm
> running out of disk space.

You can use 'db_archive -d' to get rid of them (AFAIK, it's a good
idea to make db backups first, for without the log files recovery may
be impossible).

Please see

http://www.sleepycat.com/docs/utility/db_archive.html

Regards,

--
Adriano