Try stopping replication and see if your query performance may
improve. I think the caches get reset each time replication occurs.
You can look at the cache performance using the admin console.. try
and see if any of the caches are constantly being missed.. this could
be due to your newSearcher/firstSearcher warming queries not doing an
adequate job of warming your caches which can affect performance.
Perhaps the answer could be to allocate more cache space and hence
more VM Heap space.

I hope that this helps some.

- Amit

On Thu, Oct 7, 2010 at 4:32 AM, Christos Constantinou
<ch...@simpleweb.co.uk> wrote:
> Hello everyone,
>
> All of a sudden, I am experiencing some very slow queries with solr. I have 
> 13GB of indexed documents, each averaging 50-100kb. They have an id key, so I 
> expect to be getting results really fast if I execute 
> id:7cd6cb99fd239c1d743a51bb85a48f790f4a6d3c as the query with no other 
> parameters. Instead, the query may take up to 1 full second (the majority of 
> time spent on org.apache.solr.handler.component.QueryComponent) whereas more 
> complicated queries may take more than a full minute to complete.
>
> I am not sure where to start looking for the problem. I stopped all the 
> scripts that add and commit the solr server, then restarted solr, but the 
> queries still take just as long.
>
> Also there is a replication server that runs every 60 seconds, I don't know 
> how that might affect performance.
>
> Any clues as to how I should investigate this would be appreciated.
>
> Thanks
>
> Christos
>
>

Reply via email to