# Elasticsearch index storage size

**URL:** <https://discuss.elastic.co/t/elasticsearch-index-storage-size/205271>\
**Category:** Elasticsearch\
**Created:** [October 25, 2019, 1:47pm UTC](https://discuss.elastic.co/t/elasticsearch-index-storage-size/205271 "2019-10-25T13:47:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![haythem](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@haythem](https://discuss.elastic.co/u/haythem)\
**Post date:** [October 25, 2019, 1:47pm UTC](https://discuss.elastic.co/t/elasticsearch-index-storage-size/205271/1 "2019-10-25T13:47:35Z")

</div>

Hi guys , so it's been a while now i injected some data from oracle database to elasticsearch via logstash , so everything works fine , but lately i injected the same data from a csv file via logstash but there is a huge difference in index size , the data from oracle database is about 800mb and the data from csv file is 2.2gb , btw the data is the same from both sources !!  
any idea why this happened and is there a way to reduce the size of the csv index file .

logstach version 7.4.0 and elasticsearch version 7.4.0

thank you.

---

<div class="post-metadata">

**Author:** ![Glen\_Smith](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/glen_smith/32/111656_2.png) [@Glen\_Smith](https://discuss.elastic.co/u/Glen_Smith)\
**Post date:** [October 25, 2019, 10:01pm UTC](https://discuss.elastic.co/t/elasticsearch-index-storage-size/205271/2 "2019-10-25T22:01:34Z")

</div>

haythem,

I would check the following things:

- Compare the number of documents in the indices to see if one has missing docs or the other has duplicate docs
- Compare the mappings between the two indices to see if the larger index has a lot more fields being analyzed
- Compare some samples of the documents between the two to confirm they are the same as you expected.

---

<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 22, 2019, 10:01pm UTC](https://discuss.elastic.co/t/elasticsearch-index-storage-size/205271/3 "2019-11-22T22:01:36Z")

</div>

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