Persistent data storage in elasticsearch


(Kamaljit Pati) #1

Hi All,

I have a doubt regarding when this elasticsearch data is flushed to disk. I read that it was mentioned the translog is getting stored to disk in some interval. And after the commit point or after some commit points i think these datas are getting flushed to disk.

We are using 3 node cluster of elasticsearch.

So my question is in how much interval the translog is getting flushed to disk. Means just after pushing the data if the node goes down, will I lose the data or that can be recovered. After how much interval if the node goes down i won't lose the data at all. If I lose the data how much data can i lose.


(Mark Walkom) #2

By default it's 5 seconds, see https://www.elastic.co/guide/en/elasticsearch/reference/6.2/index-modules-translog.html.


(system) #3

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