[ZODB-Dev] Optimize BTree node sizes?
Jim Fulton
jim at zope.com
Tue Nov 4 12:18:19 EST 2008
On Nov 4, 2008, at 12:12 PM, Benji York wrote:
> On Tue, Nov 4, 2008 at 12:01 PM, Jim Fulton <jim at zope.com> wrote:
>>
>> A few months back, there was a lot of discussion here about BTree
>> performance. I got a sense that maximum BTree-node and bucket sizes
>> should be increased. Does anyone have recommendations for new sizes?
>
> It'd be cool if the bucket size could be dynamic (say governed by an
> attribute on the BTree), but I suspect that is dramatically out of
> scope
> for what you were planning on doing.
I have a list of projects I might try to do for 3.9. One would be to
make BTrees subclassable
and to modify BTrees to get these limits from class attributes. But
whether I get to this or not,
if there are more sensible defaults, it would make sense to use them.
Jim
--
Jim Fulton
Zope Corporation
More information about the ZODB-Dev
mailing list