# Replicas

**URL:** <https://discuss.elastic.co/t/replicas/279727>\
**Category:** Elasticsearch\
**Created:** [July 27, 2021, 12:46pm UTC](https://discuss.elastic.co/t/replicas/279727 "2021-07-27T12:46:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PraveenKT](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/praveenkt/32/35483_2.png) [@PraveenKT](https://discuss.elastic.co/u/PraveenKT)\
**Post date:** [July 27, 2021, 12:46pm UTC](https://discuss.elastic.co/t/replicas/279727/1 "2021-07-27T12:46:02Z")

</div>

`setup.template.settings: index.number_of_shards: 3 index.number_of_replicas: 3 `  
If i use above configuration in beats, is it create 3 replicas for each shards. or one replica for each shards.

I used 3 shards and 3 replicas. After that Kibana dashboards become slow. I am using 3 data&master nodes and one co-ordinate node. Also getting below INFO logs on one node.

```auto
[2021-07-27T05:28:09,161][INFO][o.e.i.r.PeerRecoveryTargetService] [USLA-PAPP-ELK04] recovery of [issqmetric-2021.07.27-000015][0] from [{USLA-PAPP-ELK06}{K0CWQ8D9Tw-ScRUabDeWHw}{zRpCYtPBRpuAmtkur79f6A}{USLA-PAPP-ELK06}{10.7.0.66:9300}{cdhilmrstw}{ml.machine_memory=33510563840, ml.max_open_jobs=20, xpack.installed=true, ml.max_jvm_size=17179869184, transform.node=true}] interrupted by network disconnect, will retry in [5s]; cause: [[USLA-PAPP-ELK04][10.7.0.64:9300] Node not connected]

```

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [July 28, 2021, 8:21am UTC](https://discuss.elastic.co/t/replicas/279727/2 "2021-07-28T08:21:39Z")

</div>

Your calculation is slightly off. Configuring the number of replicas to `3` means that **each shard** will have 3 copies... so you will end up with 12 shards in total for this index.

Can you define what `slow` means in your context? Is it the query response time? Does this change after some time? WIth which configuration was it faster before? How much difference is there between fast and slow?

Adding some more context and especially comparing numbers would be greatly appreciated!

Thanks!

---

<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:** [August 25, 2021, 8:22am UTC](https://discuss.elastic.co/t/replicas/279727/3 "2021-08-25T08:22:10Z")

</div>

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