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

New Berkeley DB v2 specific slapd backend



Folks,

I have just added a new slapd backend to the -devel tree, named back-bdb2,
that is designed for taking provision of the special features, Berkeley DB
version 2 can offer. Those features, Kurt and I have in mind are:

- locking via the DB build-in LOCK facility,
- a memory pool for DB files via the MPOOL facility,
- transaction control of all DB files via the TXN facility,
- database recovery,
- database snapshots,
- archiving of databases,
- extended statistics about database use and action,

and so on.

The fisrt version I have just commited and integrated into Kurt's new
backend/database init/startup/shutdown schema makes use already of the
first two points. Since development is at it's beginning, however, the
locking is a mixture of backend-level locking via DB LOCK and entry-level
locking as implemented in back-ldbm. We will have to test, how much of
the entry-level locking can be released.

If you have Berkeley DB version 2.x, you can invoke back-bdb2 via
configuration option '--enable-bdb2'. This will build the new backend,
as well as bdb2-specific versions of the ldif2xxx tools. Testing of
the implementation can be done by 'make bdb2-local' in the tests sub-
directory. Since new configuration options are active, a new set of
slapd-bdb2-xxx.conf files are provided in tests/data.

At the moment, back-bdb2 is tested for Berkeley DB 2.6.4beta on a linux
box, kernel version 2.0.35, with linux kernel threads, using gcc 2.7.2.1
and glibc 2.0.7. Kurt Zeilenga will run the tests for Berkeley 2.3.16 as
soon as possible. The newly announced Berkeley version 2.7.3beta will not
be checked for the moment. I will wait for a new stable release from
Sleepycat, that hopefully will come during the next weeks.


Best regards,

Kurt Spanier
ksp@openldap.org


----------==========#########>>>>>ZDV<<<<<#########==========----------

X.500:                                              Tel.:
   Kurt Spanier, Zentrum fuer Datenverarbeitung,      +49 7071 29-70334
   Universitaet Tuebingen, DE
SMTP-Mail:                                          FAX.:
   kurt.spanier@zdv.uni-tuebingen.de                   +49 7071 29-5912
Snail-Mail:
   Dr. Kurt Spanier, Zentrum fuer Datenverarbeitung,
   Universitaet Tuebingen, Waechterstrasse 76, D-72074 Tuebingen
PGP-Public-Key:
   finger "Kurt Spanier"@x500.uni-tuebingen.de

----------==========##########>>>>>@<<<<<##########==========----------