[Zope] ZODB vs LocalFS

Ryan Boder icanoop at bitwiser.org
Sun Apr 4 03:11:17 EDT 2004


Hi,

I'm working on a Zope application that will store a bunch of openoffice
documents that users change on a regular basis.

I am not completely sure about using the ZODB for this for a few reasons,
and I can't find complete documentation on the ZODB.

These openoffice filess will be changed often and may be large. I think that
ZODB keeps all old copies of a file each time it changes. Changing large
openoffice documents all the time would make the ZODB huge, right? Can I
make ZODB only store the most recent version of these files, instead of
keeping a history of all the versions?

I have also looked into using LocalFS and storing them on my file system. Is
that the best way to go?

OpenOffice has history and versioning built in so I won't be getting any
benefit from keeping a history of old versions, just wasting disk space.

Can I set ZODB to only keep the last 3 versions of a file and erase older
versions all together?

Is there any good ZODB documentation you can point me to? I've picked up
things here and there from the Zope Book but I'm still don't know much about
ZODB.

Also, as for LocalFS I could hardly find anything. From the Zope site I
couldn't even tell which version of LocalFS to use with Zope-2.7.0, let
alone how to use it.

Thanks,
-- 
Ryan Boder
http://www.bitwiser.org/icanoop



More information about the Zope mailing list