[ZODB-Dev] Re: What makes the ZODB slow?

Chris Withers chris at simplistix.co.uk
Mon Jun 26 09:02:20 EDT 2006


Florent Guillaume wrote:
> 
> BTrees perform best when keys' prefixes are randomly distributed.
> So if your application generates keys like 'foo001', 'foo002',... you'll 
> get lots of conflicts. Same for consecutive integers in IOBTree.

Tempted to call bullshit on this, since there's code in the catalog to 
specifically assign series of keys...

...of course, that code may be evil, and people with bigger brains (hi 
Tim/Jeremy/Jim!) would have to comment..

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the ZODB-Dev mailing list