[Zope-dev] Reg. persisting data in ZODB via forms

Laurence Rowe l at lrowe.co.uk
Wed Jun 8 16:46:46 EDT 2011


On 8 June 2011 20:47, Joe Steeve <js at hipro.co.in> wrote:
> On Wed, 2011-06-08 at 14:48 +0100, Laurence Rowe wrote:
>> A BTree efficiently stores a large number of key,value pairs because
>> the storage is split across a number of persistent objects (buckets)
>> each of which stores a part of the tree, so only the bucket that
>> changes needs to be stored when a key,value is updated. See
>> http://zodb.org/documentation/guide/modules.html#btrees-package and
>> http://en.wikipedia.org/wiki/B%2B_tree
>
> Okay. So, if there are (say) 10 objects in a bucket. And, one of them
> changes. Then, are all 10 objects serialized again?

If they are not persistent objects themselves then yes.

Laurence


More information about the Zope-Dev mailing list