[ZODB-Dev] Database size increase on commit()

tsmiller tsmiller at gnixterhouse.com
Thu Nov 22 11:43:50 EST 2007


Thanks.  The changes that you suggested work.  I think that what I did not
see is that one key = one btree.  I was trying to store multible stores
under a single btree ie..
dbRoot['books'] = bTree.OOBTree()
dbRoot['books']['store1'] = {}
dbRoot['books']['store2'] = {}
dbRoot['books']['store3'] = {}
etc...
I was thinking that you would have a single btree that kept everything. But
it looks like I have to do the following, which will mean that I will have
many btrees in my program.  Is this correct thinking?
dbRoot['books']['store1'] = bTree.OOBTree()
dbRoot['books']['store2'] = bTree.OOBTree()
dbRoot['books']['store3'] = bTree.OOBTree()

So is it correct that you have   (one key =  one bTree)  relationship?

Thanks again,
Tom
-- 
View this message in context: http://www.nabble.com/Database-size-increase-on-commit%28%29-tf4852044.html#a13899126
Sent from the Zope - ZODB-Dev mailing list archive at Nabble.com.



More information about the ZODB-Dev mailing list