4 ms·
For many use cases, ES has great memory characteristics because the doc values, which is now default. https://www.elastic.co/guide/en/elasticsearch/reference/c
by yehosef 9y ago
For many use cases, ES has great memory characteristics because the doc values, which is now default.
https://www.elastic.co/guide/en/elasticsearch/reference/current/doc-values.html https://www.elastic.co/guide/en/elasticsearch/reference/curr...
As an example, I have the HN data set on my laptop - about 15 GB of data and I have the max mem set to 3GB (heap is usually ~1) and I can search, aggregate, etc. very quickly without memory problems.
- antirez 9y agoSure I don't want to say that on-disk systems always need to have the whole set of pages in memory, but depending on the performances that you want to obtain, at least a percentage of the pages will need to be on memory, so if one has the illusion that: in-memory systems -> memory usage proportional to the amount of data. in-disk systems -> fixed memory usage, just more disk, this is usually not true.