On 18 January 2013 10:50, Claudiu Saftoiu <csaft...@gmail.com> wrote:
>> > Any suggestions? There must be a way to effectively use indexing with
>> > zodb
>> > and what I'm doing isn't working.
>> Have you confirmed that the ZEO client cache file is being used?
>> Configure logging to display the ZEO messages to make sure.
>> The client cache is transient by default, so you will need to enable
>> persistent client caching to see an effect past restarts:
>> client zeo1
> Yep, I specified a var of 'zeocache' and a client of 'index', and there is
> indeed a ./zeocache/index-1.zec file and a ./zeocache/index-1.zec.lock file.
I wonder if disk latency is the problem?. As a test you could put the
index.fs file into a tmpfs and see if that improves things, or cat
index.fs > /dev/null to try and force it into the fs cache.
For more information about ZODB, see http://zodb.org/
ZODB-Dev mailing list - ZODB-Dev@zope.org