On Fri, Jan 18, 2013 at 11:55 AM, Claudiu Saftoiu <csaft...@gmail.com> wrote:
>>> If you want to load the btree item into cache, you need to do
>> That's not going to work, since `item` is a tuple. I don't want to load
>> the item itself into the cache, I just want the btree to be in the cache.
> Er, to be clearer: my goal is for the preload to load everything into the
> cache that the query mechanism might use.
> It seems the bucket approach only takes ~10 seconds on the 350k-sized index
> trees vs. ~60-90 seconds. This seems to indicate that less things end up
> being pre-loaded...
I guess I was too subtle before.
Preloading is a waste of time. Just use a persistent ZEO cache
of adequate size and be done with it.
Jerky is better than bacon! http://zo.pe/Kqm
For more information about ZODB, see http://zodb.org/
ZODB-Dev mailing list - ZODB-Dev@zope.org