# Inspect field cache size per field

**URL:** https://discuss.elastic.co/t/inspect-field-cache-size-per-field/10683
**Category:** Elasticsearch
**Created:** [February 9, 2013, 10:36pm UTC](https://discuss.elastic.co/t/inspect-field-cache-size-per-field/10683 "2013-02-09T22:36:29Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Kim\_Major](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@Kim\_Major](https://discuss.elastic.co/u/Kim_Major)
#### Post date: [February 9, 2013, 10:36pm UTC](https://discuss.elastic.co/t/inspect-field-cache-size-per-field/10683/1 "2013-02-09T22:36:29Z")

</div>

Is there a way to inspect the size of individual field cache entries?  
Given a field cache of 10GB, I would like to be able to determine which  
fields of our documents takes up what portions of the field cache.

--kim

--  
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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Itamar\_Syn\_Hershko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itamar_syn_hershko/32/725_2.png) [@Itamar\_Syn\_Hershko](https://discuss.elastic.co/u/Itamar_Syn_Hershko)
#### Post date: [February 9, 2013, 10:42pm UTC](https://discuss.elastic.co/t/inspect-field-cache-size-per-field/10683/2 "2013-02-09T22:42:01Z")

</div>

I sent a PR which allows you to do this with 0.21, works great on our end:

> <https://github.com/elastic/elasticsearch/pull/2616>
>
> Resolves #2615
> 
> Adding a feature to have a more granular FieldData stats in the …NodeIndicesStats endpoint
> 
> Missing is a proper REST response to contain the added data

On Sun, Feb 10, 2013 at 12:36 AM, Kim Major [kim.maj@gmail.com](mailto:kim.maj@gmail.com) wrote:

> Is there a way to inspect the size of individual field cache entries?  
> Given a field cache of 10GB, I would like to be able to determine which  
> fields of our documents takes up what portions of the field cache.
> 
> --kim
> 
> --  
> 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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)
#### Post date: [February 10, 2013, 10:01pm UTC](https://discuss.elastic.co/t/inspect-field-cache-size-per-field/10683/3 "2013-02-10T22:01:18Z")

</div>

Hi Kim,

Not sure what ES version you run, but you may try the master version of  
ElasticFacets: [GitHub - bleskes/elasticfacets: A set of facets and related tools for ElasticSearch](https://github.com/bleskes/elasticfacets#cache-stats-per-field)

Cheers,  
Boaz

Full disclosure - i'm the author.

On Saturday, February 9, 2013 11:36:29 PM UTC+1, Kim Major wrote:

> Is there a way to inspect the size of individual field cache entries?  
> Given a field cache of 10GB, I would like to be able to determine which  
> fields of our documents takes up what portions of the field cache.
> 
> --kim

--  
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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Kim\_Major](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@Kim\_Major](https://discuss.elastic.co/u/Kim_Major)
#### Post date: [February 10, 2013, 10:13pm UTC](https://discuss.elastic.co/t/inspect-field-cache-size-per-field/10683/4 "2013-02-10T22:13:44Z")

</div>

0.20.1

On Monday, February 11, 2013 12:01:18 AM UTC+2, Boaz Leskes wrote:

> Hi Kim,
> 
> Not sure what ES version you run, but you may try the master version of  
> ElasticFacets:  
> [GitHub - bleskes/elasticfacets: A set of facets and related tools for ElasticSearch](https://github.com/bleskes/elasticfacets#cache-stats-per-field)
> 
> Cheers,  
> Boaz
> 
> Full disclosure - i'm the author.
> 
> On Saturday, February 9, 2013 11:36:29 PM UTC+1, Kim Major wrote:
> 
> > Is there a way to inspect the size of individual field cache entries?  
> > Given a field cache of 10GB, I would like to be able to determine which  
> > fields of our documents takes up what portions of the field cache.
> > 
> > --kim

--  
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+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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: [July 6, 2017, 2:52am UTC](https://discuss.elastic.co/t/inspect-field-cache-size-per-field/10683/5 "2017-07-06T02:52:11Z")

</div>


