[ZODB-Dev] Using BerkeleyDB
Richard Jones
richard at commonground.com.au
Tue Jun 3 12:35:13 EDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[Apologies in advance - this will probably come across as a little
rambling and this is the only vaguely relevant list I could find to
send this message to...]
I'm on the hunt for an undo-less store to use in a new Zope app. I
can't find a reference to a FileStorage-based one (I might have made
that up in my own head) so I'm looking at the BerkeleyDB-based one.
I grabbed the latest bsddb3Storage-2.0beta2 and then hit another brick
wall. I get the feeling that I'm being far too enthusiastic an early
adopter...
I spent yesterday unravelling the new ZConfig-based configuration Zope
and ZEO schemas (which resulted in a script that dumps the ZConfig
schema to HTML - see
http://mechanicalcat.net/cgi-bin/log/2003/06/02#zconfig_fooling for
info if you're interested).
Some issues with the README that comes with bsddb3Storage-2.0beta2:
1. it has a section on "Requirements" which gives instructions on how
to build PyBSDDB, but not how to build bsddb3Storage ...
2. in the section "Using bsddb3Storage with Zope", you refer to
"docs/custom_zodb.py" - it's not in the tar file. It's also not the way
to configure at the moment, but I'll assume that there's a migration
still to be done. Given the missing file, I can't see how to configure
the thing at all. The ZConfig schema dumper has helped a little, but
the vars could use descriptions ;)
3. the Zope2.7 CVS's ZODB ZConfig schema refers to "BDBStorage" - but
bsddb3Storage-2.0beta2 installs itself as "bsddb3Storage".
Having said that, I poked around the ZODB3 CVS for a while using
viewcvs, and it appears that BDBStorage is in there. I get the feeling
that it's going to replace bsddb3Storage? If so, are there any hints
as to using it?
Richard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)
iD8DBQE+2/tSrGisBEHG6TARAuy2AJ920M+dKYJB/bOHfOpcko05hshQegCdFngB
vvAMmLLrpaH8oCd1/8c39M8=
=QCTh
-----END PGP SIGNATURE-----
More information about the ZODB-Dev
mailing list