> > >> If you want to load the btree item into cache, you need to do >> >> item._p_activate() >> > > 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... - Claudiu
_______________________________________________ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev