# Total size calculated from store stats doesn't match what's on disk?

**URL:** <https://discuss.elastic.co/t/total-size-calculated-from-store-stats-doesnt-match-whats-on-disk/76345>\
**Category:** Elasticsearch\
**Created:** [February 24, 2017, 4:56am UTC](https://discuss.elastic.co/t/total-size-calculated-from-store-stats-doesnt-match-whats-on-disk/76345 "2017-02-24T04:56:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![justinyeh3112](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@justinyeh3112](https://discuss.elastic.co/u/justinyeh3112)\
**Post date:** [February 24, 2017, 4:56am UTC](https://discuss.elastic.co/t/total-size-calculated-from-store-stats-doesnt-match-whats-on-disk/76345/1 "2017-02-24T04:56:00Z")

</div>

Hello, i have the following indices on disk:

220K ./.kibana  
230M ./servicelog-2017.02.24  
37M ./requestlog-2017.02.24  
2.2M ./auditlog-2017.02.24  
269M .

However when i look hit the stats api, i'm seeing quite a different number for total size\_in\_bytes of my indices. 269M vs 96052567bytes

"\_all" : {  
"primaries" : {  
"docs" : {  
"count" : 159823,  
"deleted" : 1  
},  
"store" : {  
"size\_in\_bytes" : 96052567,  
"throttle\_time\_in\_millis" : 0  
},

What's the reason for this discrepancy?

---

<div class="post-metadata">

**Author:** ![jkuang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jkuang/32/72637_2.png) [@jkuang](https://discuss.elastic.co/u/jkuang)\
**Post date:** [February 24, 2017, 10:32pm UTC](https://discuss.elastic.co/t/total-size-calculated-from-store-stats-doesnt-match-whats-on-disk/76345/2 "2017-02-24T22:32:19Z")

</div>

The storage capacity displayed by your local OS includes translog and state information. The indices size\_in\_bytes does not include that.

---

<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:** [March 24, 2017, 10:32pm UTC](https://discuss.elastic.co/t/total-size-calculated-from-store-stats-doesnt-match-whats-on-disk/76345/3 "2017-03-24T22:32:48Z")

</div>

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