# Increasing index refresh\_interval flaws

**URL:** <https://discuss.elastic.co/t/increasing-index-refresh-interval-flaws/82118>\
**Category:** Elasticsearch\
**Created:** [April 12, 2017, 8:44am UTC](https://discuss.elastic.co/t/increasing-index-refresh-interval-flaws/82118 "2017-04-12T08:44:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dimebag](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@dimebag](https://discuss.elastic.co/u/dimebag)\
**Post date:** [April 12, 2017, 8:44am UTC](https://discuss.elastic.co/t/increasing-index-refresh-interval-flaws/82118/1 "2017-04-12T08:44:32Z")

</div>

Hey,

we have a large cluster (50TB) that doesn't require near realtime search accuracy, and we want to boost up our indexing performance there, so we thought we should increase the refresh\_interval for our indices.

We wanted to know if it has any flaws we should consider, for example: (let's say we set it to 15m)

1. we happens if a node fails ? will we have a data loss?
2. what happens when all indices actually refresh ? will we have a huge load at that time?

Thanks

---

<div class="post-metadata">

**Author:** ![s1monw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s1monw/32/3637_2.png) [@s1monw](https://discuss.elastic.co/u/s1monw)\
**Post date:** [April 18, 2017, 8:30am UTC](https://discuss.elastic.co/t/increasing-index-refresh-interval-flaws/82118/2 "2017-04-18T08:30:36Z")

</div>

setting the refresh interval to a higher number won't have any implication on data safety. it's really just there for visibility from the search / retrieval perspective. Yet, it will hold on to on-disc and in-memory data-structures until you `refresh` again that will release them. That might have some space implication on disk that you wanna consider?! When you refresh after a longer period it will need to do some heavy lifting but it's not considered huge load. Yet, there is some usecase dependency here maybe you start with raising it to `30sec` and see how it goes. I suspect it to be similar to `15min` to be honest.

---

<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:** [May 16, 2017, 8:30am UTC](https://discuss.elastic.co/t/increasing-index-refresh-interval-flaws/82118/3 "2017-05-16T08:30:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
