[ZODB-Dev] Packless, Mountable FileStorage?

sean.upton@uniontrib.com sean.upton@uniontrib.com
Fri, 31 Aug 2001 13:08:35 -0700


Disclaimer: I haven't used any of the BSDDB3 storages, I've just worked with
bdb before in C and perl... anyway...

I think the confusing thing is that bdb is characterized as a "database,"
and not simply a data storage api/toolkit with fast tree-based algorithms
for indexing and retrieving values by key.

In relation to Zope, bdb is simply a low-level binary file storage library,
not a database library, in _any_ full sense of a "database."  The only
complication created, as far as I can see, is depending upon libdb3,
PyBSDDB3, and some new tools for dealing with corrupted storage files.

Seems simple enough, I guess.

Sean

-----Original Message-----
From: Chris Withers [mailto:chrisw@nipltd.com]
Sent: Thursday, August 30, 2001 12:30 PM
To: Tino Wildenhain
Cc: jeremy@zope.com; zodb-dev@zope.org; chrism@zope.com
Subject: Re: [ZODB-Dev] Packless, Mountable FileStorage?


Tino Wildenhain wrote:
> 
> > BTW, has anyone made a packless FileStorage? I'm thinking about making a
> 
> Since the current implementation appends changes to the file, it would
> be a complete new principle to change this. I think using the
> BSDDBStorage gives exactly this without extra developement.

...but introduces a dependency on BerkleyDB :-(

for me, the big win with ZODB is it's "batteries included" stuff. If I need
a
database to store the data then I might as well go for something like
PostGres
or Oracle and be done with it.

I dunno what the ZC thinking is on this...

> > portal_mail tool for the CMF that would store messages to be sent and
then
> > send them from another process so you don't get a really long wait if
> > viewing a page results in mail messages being sent to lots of people.
> 
> Hehe, we share that idea ;)

Indeed, although right now I'm tempted to just start hacking bits out of the
CMF
to use outside it since the framework as a whole is just too painful to use
:-(

> > This would need a storage for the messages (probably mounted like the
CST's
> > internal data container) that was packless since it'd be a holding bay
in
> > the situation I'm thinking of could easily have to handle several
hundred
> > mails a day.
> 
> Is there any clean way to mount different storages into ZODB?
> There were several approaches I've seen so far and none worked
> quite perfect.

Indeed. I wonder if Chris M has anything to add here?

cheers,

Chris



_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zodb-dev