lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [24/30] lucene-solr:jira/http2: SOLR-12835: Document statistics exposed by the Query Result Cache when maxRamMB is configured
Date Mon, 08 Oct 2018 02:30:46 GMT
SOLR-12835: Document statistics exposed by the Query Result Cache when maxRamMB is configured


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/ace0db7a
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/ace0db7a
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/ace0db7a

Branch: refs/heads/jira/http2
Commit: ace0db7a0a02e441055badca1687afd25b037f23
Parents: 14e6eb2
Author: Shalin Shekhar Mangar <shalin@apache.org>
Authored: Fri Oct 5 08:20:31 2018 +0530
Committer: Shalin Shekhar Mangar <shalin@apache.org>
Committed: Fri Oct 5 08:20:31 2018 +0530

----------------------------------------------------------------------
 solr/CHANGES.txt                                        |  2 ++
 .../src/performance-statistics-reference.adoc           | 12 +++++++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ace0db7a/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index ae20fc3..93faa36 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -143,6 +143,8 @@ Other Changes
   changed from {collectionDefaults: {nrtReplicas : 2}} to {defaults : {collection : {nrtReplicas
: 2}}}.
   (ab, shalin)
 
+* SOLR-12835: Document statistics exposed by the Query Result Cache when maxRamMB is configured.
(shalin)
+
 Bug Fixes
 ----------------------
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ace0db7a/solr/solr-ref-guide/src/performance-statistics-reference.adoc
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/performance-statistics-reference.adoc b/solr/solr-ref-guide/src/performance-statistics-reference.adoc
index cf948c7..8b5cbd0 100644
--- a/solr/solr-ref-guide/src/performance-statistics-reference.adoc
+++ b/solr/solr-ref-guide/src/performance-statistics-reference.adoc
@@ -192,8 +192,18 @@ The following statistics are available for each of the caches mentioned
above:
 |hits |Number of hits for the current index searcher.
 |inserts |Number of inserts into the cache.
 |lookups |Number of lookups against the cache.
-|size |Size of the cache at that particular instance (in KBs).
+|size |Number of entries in the cache at that particular instance.
 |warmupTime |Warm-up time for the registered index searcher. This time is taken in account
for the “auto-warming” of caches.
 |===
 
+When eviction by heap usage is enabled, the following additional statistics are available
for the Query Result Cache:
+
+[cols="25,75",options="header"]
+|===
+|Attribute |Description
+|maxRamMB |Maximum heap that should be used by the cache beyond which keys will be evicted.
+|ramBytesUsed| Actual heap usage of the cache at that particular instance.
+|evictionsRamUsage| Number of cache evictions for the current index searcher because heap
usage exceeded maxRamMB.
+|===
+
 More information on Solr caches is available in the section <<query-settings-in-solrconfig.adoc#query-settings-in-solrconfig,Query
Settings in SolrConfig>>.


Mime
View raw message