# Shards

**URL:** <https://discuss.elastic.co/t/shards/275554>\
**Category:** Elasticsearch\
**Created:** [June 10, 2021, 10:28am UTC](https://discuss.elastic.co/t/shards/275554 "2021-06-10T10:28:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhishek\_Shinde](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@Abhishek\_Shinde](https://discuss.elastic.co/u/Abhishek_Shinde)\
**Post date:** [June 10, 2021, 10:28am UTC](https://discuss.elastic.co/t/shards/275554/1 "2021-06-10T10:28:51Z")

</div>

I was referring to following for sizing the shards,

> **[Size your shards | Elasticsearch Guide \[7.13\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/size-your-shards.html)**

I referred the following sections in the article,  
#Aim for shard sizes between 10GB and 50GB  
#Aim for 20 shards or fewer per GB of heap memory

I wanted to understand if we can scale Single Elasticsearch Node up to ~29.29 TB using the following configuration?  
• Max JVM Heap size - 30 GB  
• Shard per GB - 20  
• Total Shards – 600  
• Shard size – 50 GB

If possible, what all things needs to be taken into consideration as part effective performance management.

---

<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 10, 2021, 10:42am UTC](https://discuss.elastic.co/t/shards/275554/2 "2021-06-10T10:42:24Z")

</div>

The numbers given are guidelines for maximum numbers. Each shard requires some overhead in terms of heap and you also need to have enough spare heap space to handle indexing requests and queries. Exactly how much data a node can handle will depend on your data, mappings, shard sizes and usage patterns. There is no guarantee that a node with 30GB heap can handle 600 shards of 50GB each.

Also note that query performance is likely to be affected by the amount of data each nodes hold and the type of storage used. If you have requirements on max query latency this may be what is limiting the data density.

---

<div class="post-metadata">

**Author:** ![Abhishek\_Shinde](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@Abhishek\_Shinde](https://discuss.elastic.co/u/Abhishek_Shinde)\
**Post date:** [June 11, 2021, 6:13pm UTC](https://discuss.elastic.co/t/shards/275554/3 "2021-06-11T18:13:18Z")

</div>

Any ballpark number how much single node can scale with above configuration and when to go for a new node?

---

<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 11, 2021, 6:14pm UTC](https://discuss.elastic.co/t/shards/275554/4 "2021-06-11T18:14:23Z")

</div>

It depends on your data and how heavily you index and query so I am afraid you will need to test/benchmark.

---

<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 9, 2021, 6:15pm UTC](https://discuss.elastic.co/t/shards/275554/5 "2021-07-09T18:15:14Z")

</div>

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