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

Simon Pamies lists at bipbap.de
Tue Oct 14 19:59:24 EDT 2003


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 thats the right list ;-)




More information about the ZODB-Dev mailing list