Well, the place to start is here:
*stats*:  lookups : 98
*hits *: 59
*hitratio *: 0.60
*inserts *: 41
*evictions *: 0
*size *: 41

the important bits are hitratio and evictions.
Caches only really start to "show their stuff"
when the hit ratio is quite high. That's
the percentage of requests that are satisfied
by entries already in the cache. You want
this number to be as high as possible, +0.90.

evictions are the number of entries that have been
removed from the cache. The pre-configured
number is usually 512, so when the 513th entry
is inserted in the cache, some are removed
to make room and tallied in the evictions
section.

Do note that some of the caches (documentCache
in particular) will rarely have a huge hit ratio due
to its nature, ditto with queryResultCache so you
can temporarily ignore those.

Best
Erick

On Fri, Apr 13, 2012 at 6:28 AM, Kashif Khan <uplink2...@gmail.com> wrote:
> Hi Li Li,
>
> I have been through that WIKI before but that does not explain what is
> *evictions*, *inserts*, *cumulative_inserts*, *cumulative_evictions*,
> *hitratio *and all. These terms are foreign to me. What does the following
> line mean?
>
> *item_ABC :
> {field=ABC,memSize=340592,tindexSize=1192,time=1360,phase1=1344,nTerms=7373,bigTerms=1,termInstances=11513,uses=4}
> *
>
> I want that kind of explanation. I have read the wiki and the comments in
> the solrconfig.xml file about all these things but does say how to read the
> stats which is very *important!!!*.
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/How-to-read-SOLR-cache-statistics-tp3907294p3907633.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to