# Indices stats store values seem not coherent

**URL:** <https://discuss.elastic.co/t/indices-stats-store-values-seem-not-coherent/303507>\
**Category:** Elasticsearch\
**Created:** [April 28, 2022, 11:56am UTC](https://discuss.elastic.co/t/indices-stats-store-values-seem-not-coherent/303507 "2022-04-28T11:56:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliana\_cg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juliana_cg/32/99127_2.png) [@juliana\_cg](https://discuss.elastic.co/u/juliana_cg)\
**Post date:** [April 28, 2022, 11:56am UTC](https://discuss.elastic.co/t/indices-stats-store-values-seem-not-coherent/303507/1 "2022-04-28T11:56:34Z")

</div>

Hello, i've been using the /\_stats endpoint to recover the size of my indices, however it seems that the values are not the same between `GET /_stats/store?expand_wildcards=all` and `GET /_stats?expand_wildcards=all`, i'm only interested in the total store value. The results look like this:

```auto
GET /_stats/store?expand_wildcards=all

".ds-test-1" : {
      "primaries" : {
        "store" : {
          "size_in_bytes" : 303107785212,
          "total_data_set_size_in_bytes" : 303107785212,
          "reserved_in_bytes" : 0
        }
      },
      "total" : {
        "store" : {
          "size_in_bytes" : 509955534347,
          "total_data_set_size_in_bytes" : 509955534347,
          "reserved_in_bytes" : 168212146305
        }
      }
    },

```

```auto
GET /_stats?expand_wildcards=all
".ds-test-1" : {
      "primaries" : {
        "store" : {
          "size_in_bytes" : 303113948595,
          "total_data_set_size_in_bytes" : 303113948595,
          "reserved_in_bytes" : 0
        }
      },
      "total" : {
        "store" : {
          "size_in_bytes" : 303113948595,
          "total_data_set_size_in_bytes" : 303113948595,
          "reserved_in_bytes" : 0
        },
      }
    }

```

Is there a reason for this values to be different? and what is the actual meaning of reserved in bytes and its relation to the rest of the values?

---

<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:** [May 26, 2022, 11:57am UTC](https://discuss.elastic.co/t/indices-stats-store-values-seem-not-coherent/303507/2 "2022-05-26T11:57:22Z")

</div>

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