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

Re: Bdb defaults - WAS: problem importing entries.



On Mon, Jun 14, 2004 at 11:35:31AM -0800, Matthew Schumacher wrote:
> No, it shouldn't, but mysql comes with more reasonable defaults than bdb 
> does....

That's a point you have there, I agree.

In particular, the log buffer size is just 32kbytes by default, this is really
low.
http://www.openldap.org/faq/data/cache/1072.html even comments on this:

set_lg_bsize
    Set the buffer size for the transaction log. Larger is better, but it
    doesn't have much effect unless you're also using the DB_TXN_NOSYNC option.
    With a default log file size of 10MB I usually set this to 2MB. The default
    is only 32K, which is too small for back-bdb.
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Distro packages could (should?) step in here and add some defaults. I did it for
my openldap packages.