durusmail: durus-users: Berkeley DB storage?
Berkeley DB storage?
2004-08-05
Berkeley DB storage?
Neil Schemenauer
2004-08-05
On Thu, Aug 05, 2004 at 01:59:54PM -0500, Matt Campbell wrote:
> I'm guessing Berkeley DB would be able to efficiently handle a
> larger number of objects than the FileStorage class.

Possibly.  However, Berkeley DB is very difficult to use correctly.
I think implementing a clone of ZODB's DirectoryStorage and backing
it up by a high performance filesystem would be a more fruitful
path.

> Also, it probably wouldn't be necessary to pack the database file
> regularly to prevent the file size from increasing without bound.

Not so.  Packing would still be necessary to remove garbage from the
DB.  That said, the DB would grow at a slower rate if there was a
way to replace object records.

  Neil

reply