Elasticsearch in RAM

Is there some way to run Elasticsearch completely in RAM?

It kinda depends what you mean by "completely in RAM". If you've enough RAM to fit all your indices in page cache then Elasticsearch will be able to serve searches without touching the disk.

1 Like

Do I need special settings for doing it?

Basically the situation is that I have 60 GB text file and I am going to move file to Elasticsearch. The thought is that running Elasticsearch from RAM would be quicker.

How to calculate what amount of RAM would be enough?

No, this is the default behaviour.

Elasticsearch (really, Lucene) is pretty well-optimised for persistent storage. I wouldn't worry about it.

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