# Is it safe for read-only indices to have zero replicas?

**URL:** <https://discuss.elastic.co/t/is-it-safe-for-read-only-indices-to-have-zero-replicas/197237>\
**Category:** Elasticsearch\
**Created:** [August 28, 2019, 10:51pm UTC](https://discuss.elastic.co/t/is-it-safe-for-read-only-indices-to-have-zero-replicas/197237 "2019-08-28T22:51:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![walid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/walid/32/53274_2.png) [@walid](https://discuss.elastic.co/u/walid)\
**Post date:** [August 28, 2019, 10:51pm UTC](https://discuss.elastic.co/t/is-it-safe-for-read-only-indices-to-have-zero-replicas/197237/1 "2019-08-28T22:51:33Z")

</div>

We have date-partitioned indices (by month), previous months indices are only used for searching, but still hold important data.

- Would it be safe to remove the replicas for those old indices in terms of data integrity?
- Would there be any search performance penalty by doing so?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [August 29, 2019, 4:22am UTC](https://discuss.elastic.co/t/is-it-safe-for-read-only-indices-to-have-zero-replicas/197237/2 "2019-08-29T04:22:12Z")

</div>

If you run without replicas for any index loss of a node will result in the shards held solely by that node to be lost. You may have to restore from backups. If nodes on the other hand are temporarily unavailable, e.g. due to long GC, you may get partial or severely delayed responses. Any search will also hit a larger portion of shards on each node if you have no replicas, which can impact search performance.

---

<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:** [September 26, 2019, 4:22am UTC](https://discuss.elastic.co/t/is-it-safe-for-read-only-indices-to-have-zero-replicas/197237/3 "2019-09-26T04:22:15Z")

</div>

Closed on September 26, 2019, 4:22am UTC

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