# Query cache

**URL:** <https://discuss.elastic.co/t/query-cache/60739>\
**Category:** Elasticsearch\
**Created:** [September 16, 2016, 5:36pm UTC](https://discuss.elastic.co/t/query-cache/60739 "2016-09-16T17:36:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tran915](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@Tran915](https://discuss.elastic.co/u/Tran915)\
**Post date:** [September 16, 2016, 5:36pm UTC](https://discuss.elastic.co/t/query-cache/60739/1 "2016-09-16T17:36:44Z")

</div>

Hi,  
I would like to get some opinions about our query cache. Bellow is our query cache stats:  
"query\_cache": {  
"memory\_size\_in\_bytes": 29537552,  
"total\_count": 144333168499,  
"hit\_count": 11702200196,  
"miss\_count": 132630968303,  
"cache\_size": 2557,  
"cache\_count": 1313500,  
"evictions": 1310943  
}

\what do you think by looking at the numbers? My first reaction was cache size was too small. I have the following in elasticsearch.yml:  
indicies.queries.cache.size: 20%

Heapsize 8 GB, total physical memory on the box is 16 GB.

thanks

---

<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 5, 2017, 10:19pm UTC](https://discuss.elastic.co/t/query-cache/60739/2 "2017-07-05T22:19:32Z")

</div>


