# What is a reasonable number of evictions for filter\_cache and fielddata?

**URL:** <https://discuss.elastic.co/t/what-is-a-reasonable-number-of-evictions-for-filter-cache-and-fielddata/22640>\
**Category:** Elasticsearch\
**Created:** [March 12, 2015, 8:11pm UTC](https://discuss.elastic.co/t/what-is-a-reasonable-number-of-evictions-for-filter-cache-and-fielddata/22640 "2015-03-12T20:11:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gavin\_Seng](https://avatars.discourse-cdn.com/v4/letter/g/e56c9b/32.png) [@Gavin\_Seng](https://discuss.elastic.co/u/Gavin_Seng)\
**Post date:** [March 12, 2015, 8:11pm UTC](https://discuss.elastic.co/t/what-is-a-reasonable-number-of-evictions-for-filter-cache-and-fielddata/22640/1 "2015-03-12T20:11:39Z")

</div>

[http://i.imgur.com/HjlGX4w.png](http://i.imgur.com/HjlGX4w.png)

Hi,

- Wanted to share our cache evictions/size for filter\_cache and fielddata  
and see what others are getting just for sanity checks.
- The above is for one of our hot nodes.
  - Machine:128GB JVM:96GB
  - indices.fielddata.cache.size: 31GB
  - indices.cache.filter.size: 8GB
  - indices.fielddata.cache.expire: not set because of  
[http://www.elastic.co/guide/en/elasticsearch/guide/current/\_limiting\_memory\_usage.html#f│](http://www.elastic.co/guide/en/elasticsearch/guide/current/_limiting_memory_usage.html#f%E2%94%82)

- Our data is logs and most queries are of type now-x {min,hour,days}.
- Most of these come off kibana 3 which uses specific unix timestamps in  
the filter so we can't really do this  
[http://www.elastic.co/guide/en/elasticsearch/guide/current/\_filter\_order.html](http://www.elastic.co/guide/en/elasticsearch/guide/current/_filter_order.html)  
w/o patching it.
- We index about 20GB/hr peak and about 4GB/hr non-peak.

Thanks in advance for sharing your numbers.

Gavin

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/11e5bd1b-1d1c-4b79-a34c-bbe54e452a43%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/11e5bd1b-1d1c-4b79-a34c-bbe54e452a43%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:27am UTC](https://discuss.elastic.co/t/what-is-a-reasonable-number-of-evictions-for-filter-cache-and-fielddata/22640/2 "2017-07-06T00:27:09Z")

</div>


