# Disk usage in Elasticsearch 7.2 vs Elasticsearch 2.4

**URL:** <https://discuss.elastic.co/t/disk-usage-in-elasticsearch-7-2-vs-elasticsearch-2-4/204874>\
**Category:** Elasticsearch\
**Created:** [October 23, 2019, 1:11pm UTC](https://discuss.elastic.co/t/disk-usage-in-elasticsearch-7-2-vs-elasticsearch-2-4/204874 "2019-10-23T13:11:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![garry12](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@garry12](https://discuss.elastic.co/u/garry12)\
**Post date:** [October 23, 2019, 1:11pm UTC](https://discuss.elastic.co/t/disk-usage-in-elasticsearch-7-2-vs-elasticsearch-2-4/204874/1 "2019-10-23T13:11:02Z")

</div>

Hey I have recently upgraded from Elasticsearch 2.4 to elasticsearch 7.2 and I was wondering that my index( 15 GB in 2.4 version ) I completely inserted the exact same index with same mapping, same number of documents, same replication and shards also but when I see the size in version 7.2 is 25GB and then I checked for few other indices I have in both new and older version, it turns out that the increase in size is pretty much around 40% for each index. So, I am missing something why is this increase in disk usage OR this is expected ( if the way ES internally stores data has changed in new version causing more space usage)?

---

<div class="post-metadata">

**Author:** ![klahnakoski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/klahnakoski/32/3679_2.png) [@klahnakoski](https://discuss.elastic.co/u/klahnakoski)\
**Post date:** [October 23, 2019, 3:07pm UTC](https://discuss.elastic.co/t/disk-usage-in-elasticsearch-7-2-vs-elasticsearch-2-4/204874/2 "2019-10-23T15:07:09Z")

</div>

The storage options may be different. Specifically, see if specific fields are "stored", and if "doc\_values" are enabled. I _think_ doc values=true was made default near version 5.

[https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-store.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-store.html)  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/doc-values.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/doc-values.html)

---

<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:** [November 20, 2019, 3:07pm UTC](https://discuss.elastic.co/t/disk-usage-in-elasticsearch-7-2-vs-elasticsearch-2-4/204874/3 "2019-11-20T15:07:11Z")

</div>

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