[ZODB-Dev] How much objects go into a ZODB.B+-Tree?

Andreas Jung andreas at andreas-jung.com
Wed Oct 15 01:07:24 EDT 2003


I would try to start with a single BTree. If you encounter any problems in 
terms of
performance and memory consumption you might try to break them down into 
distinct
BTrees.


-aj

--On Mittwoch, 15. Oktober 2003 1:59 Uhr +0200 Simon Pamies 
<lists at bipbap.de> wrote:

> Hi2all,
>
> if I want to manage some 100.000s objects using the ZODB.BTree,
> after how much objects should I use more than one BTree?
>
> better that way:
>
> btree = OOBTree()
> len_btree = Length()
> [adding some objects]
> print len_btree()
>>> 300000
>
> or that way:
>
> print mydict
> {1:<OOBTree1>, 2:<OOBTree2>, 3:<OOBTree3>}
> print len_btree1
>>> 100000
> print len_btree2
>>> 100000
> ....
>
> ??
>
> thx
> Simon
>
> P.S: Hope that's the right list ;-)
>
>
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>
> ZODB-Dev mailing list  -  ZODB-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zodb-dev







More information about the ZODB-Dev mailing list