# Elasticsearch disk usage 1.x vs 2.x

**URL:** <https://discuss.elastic.co/t/elasticsearch-disk-usage-1-x-vs-2-x/60621>\
**Category:** Elasticsearch\
**Created:** [September 15, 2016, 3:10pm UTC](https://discuss.elastic.co/t/elasticsearch-disk-usage-1-x-vs-2-x/60621 "2016-09-15T15:10:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickl](https://avatars.discourse-cdn.com/v4/letter/n/e0b2c6/32.png) [@nickl](https://discuss.elastic.co/u/nickl)\
**Post date:** [September 15, 2016, 3:10pm UTC](https://discuss.elastic.co/t/elasticsearch-disk-usage-1-x-vs-2-x/60621/1 "2016-09-15T15:10:44Z")

</div>

Hi everyone - I'm hoping someone can shed some light on a stumper for me.

I've currently been migrating our log data from an ES 1.4 cluster to a shiny new 2.3 cluster. I'm pushing in quite a bit of Logstash data (150M+ documents per day) and I've noticed a huge discrepancy between the disk usage per index between 1.4 and 2.3. A daily index was ~200G on 1.4 and is over 450G on 2.x. I've made sure my templates are the same as previous versions and the mappings look fairly similar.

I've searched and searched but can't find any particular information on this - is there any known reason stores would be significantly larger on 2.x vs 1.x?

Thanks so much!

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [September 15, 2016, 3:33pm UTC](https://discuss.elastic.co/t/elasticsearch-disk-usage-1-x-vs-2-x/60621/2 "2016-09-15T15:33:34Z")

</div>

A significant portion of that may be [`doc_values`](https://www.elastic.co/guide/en/elasticsearch/reference/current/doc-values.html) being on by default in 2.x:

> All fields which support doc values have them enabled by default. If you are sure that you don’t need to sort or aggregate on a field, or access the field value from a script, you can disable doc values in order to save disk space

---

<div class="post-metadata">

**Author:** ![nickl](https://avatars.discourse-cdn.com/v4/letter/n/e0b2c6/32.png) [@nickl](https://discuss.elastic.co/u/nickl)\
**Post date:** [September 28, 2016, 5:49pm UTC](https://discuss.elastic.co/t/elasticsearch-disk-usage-1-x-vs-2-x/60621/3 "2016-09-28T17:49:49Z")

</div>

Thanks so much! Disabling them definitely made an impact.

---

<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 5, 2017, 10:16pm UTC](https://discuss.elastic.co/t/elasticsearch-disk-usage-1-x-vs-2-x/60621/4 "2017-07-05T22:16:32Z")

</div>


