# Different number of replicas for different shards

**URL:** https://discuss.elastic.co/t/different-number-of-replicas-for-different-shards/188129
**Category:** Elasticsearch
**Created:** [June 29, 2019, 6:30am UTC](https://discuss.elastic.co/t/different-number-of-replicas-for-different-shards/188129 "2019-06-29T06:30:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![khichi](https://avatars.discourse-cdn.com/v4/letter/k/67e7ee/32.png) [@khichi](https://discuss.elastic.co/u/khichi)
#### Post date: [June 29, 2019, 6:30am UTC](https://discuss.elastic.co/t/different-number-of-replicas-for-different-shards/188129/1 "2019-06-29T06:30:27Z")

</div>

Hi,

is it possible to specify different number of replicas for different shards? i.e if I expect some shard to get more queries , i want to add more replicas to that shard alone, instead of adding replicas for all the shards.

Thanks  
Nawab

---

<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: [June 29, 2019, 6:35am UTC](https://discuss.elastic.co/t/different-number-of-replicas-for-different-shards/188129/2 "2019-06-29T06:35:59Z")

</div>

No, the number of replicas is a setting at the index level.

---

<div class="post-metadata">

### Author: ![khichi](https://avatars.discourse-cdn.com/v4/letter/k/67e7ee/32.png) [@khichi](https://discuss.elastic.co/u/khichi)
#### Post date: [June 29, 2019, 6:37am UTC](https://discuss.elastic.co/t/different-number-of-replicas-for-different-shards/188129/3 "2019-06-29T06:37:19Z")

</div>

Thanks @Christian_Dahlqvist  
Is such a feature on the backlog? Has it ever been considered?

I am wondering if there is any other option in such scenarios?

---

<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: [June 29, 2019, 6:40am UTC](https://discuss.elastic.co/t/different-number-of-replicas-for-different-shards/188129/4 "2019-06-29T06:40:52Z")

</div>

I do not see why such a feature would be considered. If you need that level of control you could simply split your data into multiple indices instead. Querying one index with 10 shards is generally the same as querying 10 indices with 1 shard each.

---

<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: [July 27, 2019, 6:41am UTC](https://discuss.elastic.co/t/different-number-of-replicas-for-different-shards/188129/5 "2019-07-27T06:41:03Z")

</div>

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