# Cache / performance - possible to have last 48hours in cache, ignore rest?

**URL:** <https://discuss.elastic.co/t/cache-performance-possible-to-have-last-48hours-in-cache-ignore-rest/176912>\
**Category:** Elasticsearch\
**Created:** [April 15, 2019, 1:12pm UTC](https://discuss.elastic.co/t/cache-performance-possible-to-have-last-48hours-in-cache-ignore-rest/176912 "2019-04-15T13:12:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eoin\_Verling](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eoin_verling/32/24007_2.png) [@Eoin\_Verling](https://discuss.elastic.co/u/Eoin_Verling)\
**Post date:** [April 15, 2019, 1:12pm UTC](https://discuss.elastic.co/t/cache-performance-possible-to-have-last-48hours-in-cache-ignore-rest/176912/1 "2019-04-15T13:12:56Z")

</div>

Hi,

one of our use cases for ES is as a timeseries DB, but the queries we run will only ever be for data from the last few hours (eg search only within the last 24 hours, for data matching a, b, c ...)

Is it possible to have the most recent indices in "fast memory" and the older indices in the "regular slower memory"?

e

---

<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 13, 2019, 1:13pm UTC](https://discuss.elastic.co/t/cache-performance-possible-to-have-last-48hours-in-cache-ignore-rest/176912/2 "2019-05-13T13:13:04Z")

</div>

Closed on May 13, 2019, 1:13pm UTC

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