[Zope-dev] ZODB3 - updated stored objects

Chris McDonough chrism@digicool.com
Tue, 23 May 2000 12:46:48 -0400


> I read somewhere on www.zope.org that each time you update an 
> object stored
> in ZODB3 a new record will be appended. Does this mean the 
> entire object
> will be stored in a new location with the updated values? If 
> so, isn`t that
> kinda dumb, at least if there`s no way to override this 
> "feature"? Anyhow, I

This is true with the default Zope "storage" FileStorage.  It's not
"dumb", because it's the feature that makes undo and versioning work.
Other storages like dbmStorage and Ty Sarna's BerkeleyStorage don't work
like this, and they might be more suitable for you.  Of course those
storages don't do undo or versioning.

See lib/python/ZODB/dbmStorage.py and
http://www.zope.org/Members/tsarna/BerkeleyStorage