# How could an index size inflate 3 times larger than raw data size?

**URL:** <https://discuss.elastic.co/t/how-could-an-index-size-inflate-3-times-larger-than-raw-data-size/51773>\
**Category:** Elasticsearch\
**Created:** [June 3, 2016, 8:45am UTC](https://discuss.elastic.co/t/how-could-an-index-size-inflate-3-times-larger-than-raw-data-size/51773 "2016-06-03T08:45:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenryn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chenryn/32/44917_2.png) [@chenryn](https://discuss.elastic.co/u/chenryn)\
**Post date:** [June 3, 2016, 8:45am UTC](https://discuss.elastic.co/t/how-could-an-index-size-inflate-3-times-larger-than-raw-data-size/51773/1 "2016-06-03T08:45:42Z")

</div>

I have an elasticsearch-1.7 cluster and ingest about 800GB log data into an index. Then I found the `/_cat/indices` API show me the index size was 2.2TB.

The `number_of_replicas` of this index has already been set to 0. The `_all` field set to be `disable` too. So, how could the index size inflate so much ?! Nearly 3 times.

Most of the log data haven't extract new fields. They only have some meta field and one raw message. only 10% of the data was JSON format that may have some fields.

* * *

I had heard some information that elasticsearch-1.x may use more space after segments merge if multiple \_type have some field but typeA has a little doc with long length and typeB has lots of doc with small length.

Is this possible problem keeping the same in only one \_type in one index? Is this resolved in elasticsearch-2.3?

---

<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:** [June 4, 2016, 8:26am UTC](https://discuss.elastic.co/t/how-could-an-index-size-inflate-3-times-larger-than-raw-data-size/51773/2 "2016-06-04T08:26:12Z")

</div>

What's the mapping look like?

---

<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:46pm UTC](https://discuss.elastic.co/t/how-could-an-index-size-inflate-3-times-larger-than-raw-data-size/51773/3 "2017-07-05T22:46:11Z")

</div>


