# How to decide storage size of an index in Elasticsearch

**URL:** https://discuss.elastic.co/t/how-to-decide-storage-size-of-an-index-in-elasticsearch/274076
**Category:** Elasticsearch
**Created:** [May 26, 2021, 2:34pm UTC](https://discuss.elastic.co/t/how-to-decide-storage-size-of-an-index-in-elasticsearch/274076 "2021-05-26T14:34:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rknd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rknd/32/103882_2.png) [@rknd](https://discuss.elastic.co/u/rknd)
#### Post date: [May 26, 2021, 2:34pm UTC](https://discuss.elastic.co/t/how-to-decide-storage-size-of-an-index-in-elasticsearch/274076/1 "2021-05-26T14:34:05Z")

</div>

I want to ask,

How should i decide storage size for an index ? Is there any storage limit for shards or am i able to store 20 gb per shard and will it perform same ?

Thanks for answering and explaining

---

<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: [May 26, 2021, 11:10pm UTC](https://discuss.elastic.co/t/how-to-decide-storage-size-of-an-index-in-elasticsearch/274076/2 "2021-05-26T23:10:06Z")

</div>

You can store as much data as you want in a shard. The only limit is the 2^32-1 document count, which is a Lucene level limitation.

We recommend 30-50GB though.

---

<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: [June 23, 2021, 11:11pm UTC](https://discuss.elastic.co/t/how-to-decide-storage-size-of-an-index-in-elasticsearch/274076/3 "2021-06-23T23:11:00Z")

</div>

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