# Elasticsearch index size less then dataset disk space

**URL:** <https://discuss.elastic.co/t/elasticsearch-index-size-less-then-dataset-disk-space/277872>\
**Category:** Elasticsearch\
**Created:** [July 5, 2021, 5:37pm UTC](https://discuss.elastic.co/t/elasticsearch-index-size-less-then-dataset-disk-space/277872 "2021-07-05T17:37:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fradi](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@Fradi](https://discuss.elastic.co/u/Fradi)\
**Post date:** [July 5, 2021, 5:37pm UTC](https://discuss.elastic.co/t/elasticsearch-index-size-less-then-dataset-disk-space/277872/1 "2021-07-05T17:37:31Z")

</div>

Hello there,  
I have elasticsearch version 7.10.1, I work on the file from [MeDAL Dataset | Kaggle](https://www.kaggle.com/xhlulu/medal-emnlp?select=full_data.csv) full\_data.csv 14.12 GB I divided it into 179 csv files containing 300,000 lines each and loaded them into elasticsearch. However, I can see now that the given index size is smaller than the original dataset and amounts to 12.9gb. The number of documents loaded is the same as the original. For all columns from the original file I will set the analyzer type and stopwords for the English language. My intuition tells me that the index should be larger than the original. Is it possible that the index will contain less disk space?

---

<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:** [July 5, 2021, 11:28pm UTC](https://discuss.elastic.co/t/elasticsearch-index-size-less-then-dataset-disk-space/277872/2 "2021-07-05T23:28:29Z")

</div>

Yes it's possible, as Elasticsearch uses compression on indexed data by default.

---

<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:** [August 2, 2021, 11:28pm UTC](https://discuss.elastic.co/t/elasticsearch-index-size-less-then-dataset-disk-space/277872/3 "2021-08-02T23:28:32Z")

</div>

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