# Optimal size of shard: Is 80GB Per shard ok for this use case

**URL:** <https://discuss.elastic.co/t/optimal-size-of-shard-is-80gb-per-shard-ok-for-this-use-case/328668>\
**Category:** Elasticsearch\
**Created:** [March 28, 2023, 5:10am UTC](https://discuss.elastic.co/t/optimal-size-of-shard-is-80gb-per-shard-ok-for-this-use-case/328668 "2023-03-28T05:10:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hitesharyal](https://avatars.discourse-cdn.com/v4/letter/h/958977/32.png) [@hitesharyal](https://discuss.elastic.co/u/hitesharyal)\
**Post date:** [March 28, 2023, 5:10am UTC](https://discuss.elastic.co/t/optimal-size-of-shard-is-80gb-per-shard-ok-for-this-use-case/328668/1 "2023-03-28T05:10:46Z")

</div>

I am using version 5.5.2 of Elasticsearch( having 3 Nodes= 64 gb each ) with month wise index creation.  
Daily data insertion is 17 GB i.e 17 \* 30 = 510 GB/month.

Right now i am having 6 shards(85gb/shard),1 replica in an index and already there is around 400 gb of data in index but i am not getting any problem.

Should i make next month index with 9 shards or should keep the same ?  
I will have no problem if insertion or search time increases slightly. But cannot afford node or shard failure.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 28, 2023, 5:25am UTC](https://discuss.elastic.co/t/optimal-size-of-shard-is-80gb-per-shard-ok-for-this-use-case/328668/2 "2023-03-28T05:25:49Z")

</div>

Welcome to our community! 😃

> [@hitesharyal](#):
>
> version 5.5.2 of Elasticsearch

This is positively ancient and you need yo upgrade with a matter of urgency.

> [@hitesharyal](#):
>
> Should i make next month index with 9 shards or should keep the same ?  
> I will have no problem if insertion or search time increases slightly. But cannot afford node or shard failure.

You are running a version with known issues regarding the handling of large amounts of shards.

Upgrading will be the best thing you can do here, that and using [ILM](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-lifecycle-management.html).

---

<div class="post-metadata">

**Author:** ![hitesharyal](https://avatars.discourse-cdn.com/v4/letter/h/958977/32.png) [@hitesharyal](https://discuss.elastic.co/u/hitesharyal)\
**Post date:** [March 28, 2023, 5:29am UTC](https://discuss.elastic.co/t/optimal-size-of-shard-is-80gb-per-shard-ok-for-this-use-case/328668/3 "2023-03-28T05:29:26Z")

</div>

Thanks. 🙂  
Actually it has dependency across teams and upgrading is not an option for now.  
Else ILM would have been sufficient for handling these use cases.

Can you guide what is the best thing i can do with same version.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 28, 2023, 5:30am UTC](https://discuss.elastic.co/t/optimal-size-of-shard-is-80gb-per-shard-ok-for-this-use-case/328668/4 "2023-03-28T05:30:51Z")

</div>

The best thing is to manage it manually, there's no other option sorry.

---

<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 25, 2023, 5:31am UTC](https://discuss.elastic.co/t/optimal-size-of-shard-is-80gb-per-shard-ok-for-this-use-case/328668/5 "2023-04-25T05:31:15Z")

</div>

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