# 3 Node Cluster - how many shards per index

**URL:** <https://discuss.elastic.co/t/3-node-cluster-how-many-shards-per-index/78115>\
**Category:** Elasticsearch\
**Created:** [March 10, 2017, 9:13am UTC](https://discuss.elastic.co/t/3-node-cluster-how-many-shards-per-index/78115 "2017-03-10T09:13:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fpr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fpr/32/20088_2.png) [@fpr](https://discuss.elastic.co/u/fpr)\
**Post date:** [March 10, 2017, 9:13am UTC](https://discuss.elastic.co/t/3-node-cluster-how-many-shards-per-index/78115/1 "2017-03-10T09:13:08Z")

</div>

Is my understanding right that if i have a cluster of three identical data-nodes an index should have three shards and one replica for best search performance (parrallel processing on each node) ?

And then when doing horizontal scaling to nine data-nodes. Do i get best performance by adding one additional replica (three shards and two replica) ?

---

<div class="post-metadata">

**Author:** ![ebuildy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ebuildy/32/6070_2.png) [@ebuildy](https://discuss.elastic.co/u/ebuildy)\
**Post date:** [March 10, 2017, 9:19am UTC](https://discuss.elastic.co/t/3-node-cluster-how-many-shards-per-index/78115/2 "2017-03-10T09:19:21Z")

</div>

It depends a lot:

- data volume
- usage read VS write
- hadoop connector ?
- search vs aggregations
- how many search by seconds

There is no magic rule, the good approach is to start simple, monitor every thing (CPU, RAM, Java heap...) and find the good point for your usage.

---

<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:** [April 7, 2017, 9:19am UTC](https://discuss.elastic.co/t/3-node-cluster-how-many-shards-per-index/78115/3 "2017-04-07T09:19:32Z")

</div>

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