ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zodb-dev
zodb-dev
Re: [ZODB-Dev] what appears inside zodb storage?
by hazmat other posts by this author
Dec 19 2002 3:10AM messages near this date
Re: [ZODB-Dev] what appears inside zodb storage? | [ZODB-Dev] Re: [Zope3-dev] Some cvs shenanigans
On Wednesday 18 December 2002 06:28 pm, Guido van Rossum wrote:

<big snip> 
>  > When zope btrees are used and these are stored persistently (are they
>  > always stored persistently?) where are the btrees stored?
> 
>  Each "node" in a BTree is a separate persistent object.  If a BTree
>  consists of 10 nodes and only 3 of those are modified by a particular
>  transaction, only the pickles for those 3 nodes are written as part of
>  the transaction record.

i've wondered about the details of this before. my understanding is that the 
'nodes'/buckets in a btree are stored as separate persistent objects such 
that if you have an btree variant, you can stuff it with non persistent 
objects, and only pay the write penalty for the bucket which contains them as 
opposed to the whole btree. and likewise if you stuffed it with persistent 
objects, you only pay the write penalty for the individual persisent objects 
and the bucket (which has a correspondingly smaller pickle state vs. storing 
non-persistent objects of the same size).

is the above correct?

-haz

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@[...].org
http://lists.zope.org/mailman/listinfo/zodb-dev
Thread:
David McCusker
Toby Dickenson
hazmat
Barry A. Warsaw
Guido van Rossum
hazmat

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved