# Cost of automatics refresh

**URL:** <https://discuss.elastic.co/t/cost-of-automatics-refresh/20845>\
**Category:** Elasticsearch\
**Created:** [November 19, 2014, 8:04pm UTC](https://discuss.elastic.co/t/cost-of-automatics-refresh/20845 "2014-11-19T20:04:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jinyuan\_Zhou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jinyuan_zhou/32/90185_2.png) [@Jinyuan\_Zhou](https://discuss.elastic.co/u/Jinyuan_Zhou)\
**Post date:** [November 19, 2014, 8:04pm UTC](https://discuss.elastic.co/t/cost-of-automatics-refresh/20845/1 "2014-11-19T20:04:29Z")

</div>

I am curious about how much cost for both cpu and memory when automatic  
refresh is on while I am not adding new index. For example, when it is time  
to refresh, ES have to look at the buffer to see if there is anything to  
refresh. how much would this cost even there nothing to flush.  
Thanks,

--  
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/6988b206-539a-494a-a16f-9a1a7735be25%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6988b206-539a-494a-a16f-9a1a7735be25%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)\
**Post date:** [November 22, 2014, 4:49pm UTC](https://discuss.elastic.co/t/cost-of-automatics-refresh/20845/2 "2014-11-22T16:49:11Z")

</div>

See [Sematext ElasticSearch Services](http://blog.sematext.com/2013/07/08/elasticsearch-refresh-interval-vs-indexing-performance/)

## Otis

Monitoring \* Alerting \* Anomaly Detection \* Centralized Log Management  
Solr & Elasticsearch Support \* [http://sematext.com/](http://sematext.com/)

On Wednesday, November 19, 2014 3:04:29 PM UTC-5, Jinyuan Zhou wrote:

> I am curious about how much cost for both cpu and memory when automatic  
> refresh is on while I am not adding new index. For example, when it is time  
> to refresh, ES have to look at the buffer to see if there is anything to  
> refresh. how much would this cost even there nothing to flush.  
> Thanks,

--  
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/ea44fbff-e178-44b1-87c2-6446616510e0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ea44fbff-e178-44b1-87c2-6446616510e0%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [November 22, 2014, 5:33pm UTC](https://discuss.elastic.co/t/cost-of-automatics-refresh/20845/3 "2014-11-22T17:33:58Z")

</div>

The cost of automatic refresh if you haven't written anything is pretty  
close to 0. I believe elasticsearch keeps a list of all indexes that have  
been written to rather than checking each one.  
On Nov 19, 2014 3:04 PM, "Jinyuan Zhou" [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) wrote:

> I am curious about how much cost for both cpu and memory when automatic  
> refresh is on while I am not adding new index. For example, when it is time  
> to refresh, ES have to look at the buffer to see if there is anything to  
> refresh. how much would this cost even there nothing to flush.  
> Thanks,
> 
> --  
> 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/6988b206-539a-494a-a16f-9a1a7735be25%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6988b206-539a-494a-a16f-9a1a7735be25%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/6988b206-539a-494a-a16f-9a1a7735be25%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/6988b206-539a-494a-a16f-9a1a7735be25%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAPmjWd1xXBr6pYFsazH8qELLyhjuGLoW%3DDo\_O-x2SPL\_t6YYbQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd1xXBr6pYFsazH8qELLyhjuGLoW%3DDo_O-x2SPL_t6YYbQ%40mail.gmail.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:48am UTC](https://discuss.elastic.co/t/cost-of-automatics-refresh/20845/4 "2017-07-06T00:48:17Z")

</div>

Closed on July 6, 2017, 12:48am UTC


