# Frozen tiers : How to size local cache?

**URL:** <https://discuss.elastic.co/t/frozen-tiers-how-to-size-local-cache/287704>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-searchable-snapshots\
**Created:** [October 26, 2021, 2:33pm UTC](https://discuss.elastic.co/t/frozen-tiers-how-to-size-local-cache/287704 "2021-10-26T14:33:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Travis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/travis/32/54079_2.png) [@Travis](https://discuss.elastic.co/u/Travis)\
**Post date:** [October 26, 2021, 2:33pm UTC](https://discuss.elastic.co/t/frozen-tiers-how-to-size-local-cache/287704/1 "2021-10-26T14:33:34Z")

</div>

Hello !

Is there any RAM/Disk ratio to size the local cache for frozen tiers ?

I found ratios for Hot/Warm/Cold tiers but nothing for frozen tiers

Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 26, 2021, 9:02pm UTC](https://discuss.elastic.co/t/frozen-tiers-how-to-size-local-cache/287704/2 "2021-10-26T21:02:38Z")

</div>

What do you mean by local cache?

---

<div class="post-metadata">

**Author:** ![Travis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/travis/32/54079_2.png) [@Travis](https://discuss.elastic.co/u/Travis)\
**Post date:** [October 26, 2021, 10:04pm UTC](https://discuss.elastic.co/t/frozen-tiers-how-to-size-local-cache/287704/3 "2021-10-26T22:04:41Z")

</div>

This is related to searchable snapshots used in conjunction with frozen tiers :

> **[Searchable snapshots | Elasticsearch Guide \[7.15\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots.html)**

"Partially mounted index

Uses a local cache containing only recently searched parts of the snapshotted index’s data. This cache has a fixed size and is shared across nodes in the frozen tier."

---

<div class="post-metadata">

**Author:** ![BenB196](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benb196/32/83401_2.png) [@BenB196](https://discuss.elastic.co/u/BenB196)\
**Post date:** [October 26, 2021, 10:24pm UTC](https://discuss.elastic.co/t/frozen-tiers-how-to-size-local-cache/287704/4 "2021-10-26T22:24:00Z")

</div>

A somewhat roundabout way of getting this is by using the [Elasticsearch Service pricing calculator — Elastic Cloud](https://cloud.elastic.co/pricing), if you look at the frozen tier it looks like they're doing 6.25TB per 4GB of RAM (so, ~1.56TB per GB of RAM). Though I often find that you can probably get away with a more efficient ratio (maybe 2TB per GB of RAM?), but I haven't tested this so not sure how well it would work.

---

<div class="post-metadata">

**Author:** ![Travis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/travis/32/54079_2.png) [@Travis](https://discuss.elastic.co/u/Travis)\
**Post date:** [October 27, 2021, 9:39am UTC](https://discuss.elastic.co/t/frozen-tiers-how-to-size-local-cache/287704/5 "2021-10-27T09:39:58Z")

</div>

Good finding @BenB196 ! thanks

That's a starting point. I hope I will have an official answer from Elastic Team member to be sure 😉

---

<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:** [November 24, 2021, 9:40am UTC](https://discuss.elastic.co/t/frozen-tiers-how-to-size-local-cache/287704/6 "2021-11-24T09:40:22Z")

</div>

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