Hey,

from a quick peek in the source, the StoreStats are generated in
Store.stats(), which uses the Lucene Index Directory to get its size. Which
again calls file.length() for each file in that directory in the end. So it
is the size used by a lucene index in bytes.

The indices stats API shows the data for total shards, for primaries only
or for replicas and the same per index - so you can decide which data is
important to you to count in your monitoring system.

Does it make more sense now?


--Alex


On Wed, Jan 15, 2014 at 7:57 PM, Ryan Pedela <rped...@datalanche.com> wrote:

> What does "total.store.size_in_bytes" from the indices stats 
> API<http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-stats.html>measure?
>
> Disk space for the Lucene index?
> Disk space for the _source data?
> Disk space for logs and other metadata?
> Does it count shards?
> Does it count replicas?
> Anything else?
>
> I know this question has been asked multiple times, but I have not been
> able to find a succinct breakdown of what is exactly involved in the
> calculation. The actual equation would be even better!
>
> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/08534879-a398-4ebf-890a-09ba7bac52c8%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-FyicftTP-gS2jG1e31ZLejkOxq%2BvmvtsNf%3D6L6qXWKg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to