Refresh interval setting on old indices

(ben5556) #1


If refresh interval on an old unchanging index/ indices is set to 5s, does refresh still happen for the index/ indices every 5 seconds ? Will changing the refresh interval setting to 30s on old indices improve performance ?

What happens if we set refresh interval to -1 on old indices that never change ?

(Mark Walkom) #2


Not likely as they are, usually, finished reading.

Then it will never refresh.

(ben5556) #3

If it never refreshes what will be the impact on an index that never changes ?

(Mark Walkom) #4

Technically, nothing.

But if nothing changes, then leaving it to refresh, even at a longer period, incurs no cost and has no real downside. So you're probably better off leaving it on.

(ben5556) #5


(Jordi Martori) #6

And what if the index was still being read, in order to generate long term reports?

(Mark Walkom) #7

Reads would only care about refreshes if there is data waiting to be flushed, ie if the index is being written to.

(system) #8

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