[Date Prev][Date Next]
RE: lots of big files in bdb directory
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Armbrust, Daniel
> If you don't need any of the logging/disaster recovery
> features, you can set this flag in your DB_CONFIG file when
> you create the database:
> set_flags DB_TXN_NOT_DURABLE
> And then it wont write logs. This may have other
> implications that I don't know about yet, however.
That flag was added in BDB 4.2 and is not supported in BDB 4.1. The original
poster didn't specify which version of BDB they were using; you cannot make
unqualified assumptions like this.
It's also a bad idea to suggest solutions without also explaining their full
ramifications. Since the original poster didn't know what the log files are
or their purpose, they clearly have not read the BDB documentation, and don't
know enough to understand the choices you're presenting. It would be best to
just direct them to the BDB documentation so they have the opportunity to
learn and make an informed decision on their own.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
Symas: Premier OpenSource Development and Support