# Does read-only index option really affect the performace?

**URL:** <https://discuss.elastic.co/t/does-read-only-index-option-really-affect-the-performace/205081>\
**Category:** Elasticsearch\
**Created:** [October 24, 2019, 1:54pm UTC](https://discuss.elastic.co/t/does-read-only-index-option-really-affect-the-performace/205081 "2019-10-24T13:54:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![boubakr](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@boubakr](https://discuss.elastic.co/u/boubakr)\
**Post date:** [October 24, 2019, 1:54pm UTC](https://discuss.elastic.co/t/does-read-only-index-option-really-affect-the-performace/205081/1 "2019-10-24T13:54:01Z")

</div>

Does read-only option really affect the performace? If yes, how? If not why?  
My scenario is this:  
I've daily indexes with lots of documets (from 5/10 to 100 GB per day, it depens). If each day I make the indexes of yesterday read-only (I'll never write to them) is or not a good practice? Will I notice any optimizations?

---

<div class="post-metadata">

**Author:** ![nhat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nhat/32/22170_2.png) [@nhat](https://discuss.elastic.co/u/nhat)\
**Post date:** [October 24, 2019, 3:32pm UTC](https://discuss.elastic.co/t/does-read-only-index-option-really-affect-the-performace/205081/2 "2019-10-24T15:32:58Z")

</div>

There is no difference in terms of resources or performance when you mark an index as read-only. If you do not search those indices frequently, you might [close](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-open-close.html) or [freeze](https://www.elastic.co/guide/en/elasticsearch/reference/master/frozen-indices.html) them to save resources.

---

<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 21, 2019, 3:32pm UTC](https://discuss.elastic.co/t/does-read-only-index-option-really-affect-the-performace/205081/3 "2019-11-21T15:32:58Z")

</div>

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