Yes, I used the same query url for each curl-call, it is very simple "http://...q=OS01W:sina*&fl=SecId,OS01W&rows=1&wt=xml&indent=true".
-----Original Message----- From: Toke Eskildsen [mailto:t...@statsbiblioteket.dk] Sent: 2013年6月14日 16:20 To: solr-user@lucene.apache.org Subject: RE: Solr 4.0 Optimize query very slow before the optimize end of a few minutes On Fri, 2013-06-14 at 06:59 +0200, Jeffery Wang wrote: > Time queryTime(ms), CPU % r/s w/s rMB/s wMB/s IO % > ... > 7:30:52 16594 26 36 0 0.14 0 99.3 !!!! > 7:30:53 31 80 368 0 42.43 0 94.3 > 7:31:23 28575 41 35 21 0.37 2.36 95.9 !!!! > 7:32:22 53399 31 81 39 0.74 2.63 99.5 !!!!!!! > 7:32:23 11 54 155 0 16.46 0 99.6 > 7:33:28 60199 28 30 2 0.12 0.01 99.8 !!!!!! Having a single query that is slow is expected behaviour as the reader will have opened the merged segment and caches needs to be filled. But I do not know why you have more than one query that is slow. Do you use the same query for each curl-call? - Toke Eskildsen, State and University Library, Denmark