[Date Prev][Date Next]
Re: back-bdb (Was: Back up Berkeley dbb files may cause file corruption)
- To: Marijn Meijles <email@example.com>
- Subject: Re: back-bdb (Was: Back up Berkeley dbb files may cause file corruption)
- From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
- Date: Sun, 14 Oct 2001 22:49:58 -0700
- Cc: openldap-devel@OpenLDAP.org
- In-reply-to: <20011014180145.B20054@unox.athome.tue.nl>
- References: <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org> <email@example.com> <20010926000723.A23231@unox.athome.tue.nl> <firstname.lastname@example.org>
At 09:01 AM 2001-10-14, Marijn Meijles wrote:
>> At 03:07 PM 2001-09-25, Marijn Meijles wrote:
>> >I'm wondering, what needs to be done before back-bdb is finished?
>> >only indexing?
>> No, entry caching is absent. Also, select changes to
>> back-ldbm need to ported to back-bdb. And likely other
>> loose ends...
>entry caching? back-bdb has transactions, so why not leave the caching (and
>locking) to bdb?
I believe entry caching will again prove itself as being
highly effective. The performance balance may have shifted
slightly but this is not due to transactions. In particular,
the conversion from database format to in-memory format should
be significantly less than that in back-ldbm. back-ldbm
uses LDIF in id2entry, back-bdb uses BER. Optimizing
BER and memory management will shift the balance further.
However, it is likely that entry caching will still be
effective. We'll see (by performance analysis).