Re: [Zope-dev] Reg. persisting data in ZODB via forms
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? -- Joe Steeve HiPro IT Solutions Pvt. Ltd. http://hipro.co.in/
On 8 June 2011 20:47, Joe Steeve <js@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
On Wed, 2011-06-08 at 21:46 +0100, Laurence Rowe wrote:
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.
Ok. That explains. Thank you :) -- Joe Steeve HiPro IT Solutions Pvt. Ltd. http://hipro.co.in/
participants (2)
-
Joe Steeve -
Laurence Rowe