[Zope-dev] zope and writes

Toby Dickenson tdickenson@geminidataloggers.com
Mon, 17 Apr 2000 07:52:42 +0100


On Sat, 15 Apr 2000 13:57:38 -0600, mindlace <mindlace@imeme.net>
wrote:

>If I change a property on a DTML Document, does the ZODB store a copy of
>all of the document's other properties (which haven't changed?)

Yes, that will happen. One easy way to avoid storing unnecessary
multiple copies is use distinct ZODB objects for the fast moving data
and the large slow data.

From your description it sounds like you might be using ZClasses? One
option is to make your Message class a subclass of ObjectManager,
which contains a DTMLDocument for storing the message text. Your
database need only hold one copy of that inner object's data.



Toby Dickenson
tdickenson@geminidataloggers.com