# Elasticsearch Query cache shows no data

**URL:** <https://discuss.elastic.co/t/elasticsearch-query-cache-shows-no-data/336306>\
**Category:** Elasticsearch\
**Created:** [June 18, 2023, 4:21pm UTC](https://discuss.elastic.co/t/elasticsearch-query-cache-shows-no-data/336306 "2023-06-18T16:21:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mhr/32/119834_2.png) [@mhr](https://discuss.elastic.co/u/mhr)\
**Post date:** [June 18, 2023, 4:21pm UTC](https://discuss.elastic.co/t/elasticsearch-query-cache-shows-no-data/336306/1 "2023-06-18T16:21:28Z")

</div>

The problem we are facing is that query cache is not being used at all in our ES cluster except version 7.8.1.  
We are using ES version 7.8.1 and we see data in Query Cache as show below.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/c/3c5ba781a8fbdc23a3eba173c7a1708eb26e5b89.jpeg)

After upgrading to ES version 7.17.10 , we do not see data in Query Cache.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/e/ee741aefa1b5aa7e5c5045ca0d742bfcf7829a58.png)

---

<div class="post-metadata">

**Author:** ![DineshNaik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dineshnaik/32/89308_2.png) [@DineshNaik](https://discuss.elastic.co/u/DineshNaik)\
**Post date:** [June 19, 2023, 9:12pm UTC](https://discuss.elastic.co/t/elasticsearch-query-cache-shows-no-data/336306/2 "2023-06-19T21:12:58Z")

</div>

Do you have same data size in both clusters ?  
The cache utilisation would depend on how much data you have in your indices and how your cache settings are.

Can you share the data size between two clusters ?

---

<div class="post-metadata">

**Author:** ![mhr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mhr/32/119834_2.png) [@mhr](https://discuss.elastic.co/u/mhr)\
**Post date:** [June 20, 2023, 4:56am UTC](https://discuss.elastic.co/t/elasticsearch-query-cache-shows-no-data/336306/3 "2023-06-20T04:56:00Z")

</div>

Both the ES cluster has the same data size and document count.  
Data size: 183GB  
Document count : 460960715

---

<div class="post-metadata">

**Author:** ![DineshNaik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dineshnaik/32/89308_2.png) [@DineshNaik](https://discuss.elastic.co/u/DineshNaik)\
**Post date:** [June 21, 2023, 7:45pm UTC](https://discuss.elastic.co/t/elasticsearch-query-cache-shows-no-data/336306/4 "2023-06-21T19:45:51Z")

</div>

Could you please share the output of below api's ?

```auto
GET /_nodes/stats/indices/fielddata
GET /_nodes/stats/indices/query_cache
GET /_nodes/stats/indices/request_cache

```

What is the heap size for your data nodes ?

Please share these details for both the clusters!

---

<div class="post-metadata">

**Author:** ![DineshNaik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dineshnaik/32/89308_2.png) [@DineshNaik](https://discuss.elastic.co/u/DineshNaik)\
**Post date:** [June 21, 2023, 9:40pm UTC](https://discuss.elastic.co/t/elasticsearch-query-cache-shows-no-data/336306/5 "2023-06-21T21:40:16Z")

</div>

Also share the output of  
GET /\_cluster/stats

---

<div class="post-metadata">

**Author:** ![mhr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mhr/32/119834_2.png) [@mhr](https://discuss.elastic.co/u/mhr)\
**Post date:** [June 23, 2023, 5:29am UTC](https://discuss.elastic.co/t/elasticsearch-query-cache-shows-no-data/336306/6 "2023-06-23T05:29:30Z")

</div>

ES Version 7.17.10 Version  
Heap size 32GB

GET /\_nodes/stats/indices/fielddata

{  
"\_nodes" : {  
"total" : 13,  
"successful" : 13,  
"failed" : 0  
},  
"cluster\_name" : "abc",  
"nodes" : {  
"Z4dmw8R1Sdas8JdXZ-s77g" : {  
"timestamp" : 1687496935598,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 11048,  
"evictions" : 0  
}  
}  
},  
"mlJ\_WFNyQ6Gcvj1jhMIGXA" : {  
"timestamp" : 1687496935597,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"master"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0  
}  
}  
},  
"I6WEDgBaTBeKR5dnjfEKQw" : {  
"timestamp" : 1687496935597,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 7744,  
"evictions" : 0  
}  
}  
},  
"pvVa34W-SI6nno1m4teVhA" : {  
"timestamp" : 1687496935597,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 5632,  
"evictions" : 0  
}  
}  
},  
"WR1l1h3fRtGnklJnb-\_NyQ" : {  
"timestamp" : 1687496935596,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : ,  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0  
}  
}  
},  
"j6XoThHLSsaLg6280ciwmA" : {  
"timestamp" : 1687496935604,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : ,  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0  
}  
}  
},  
"LGYwB6YTRTW7rGVa5KXGqA" : {  
"timestamp" : 1687496935602,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 7792,  
"evictions" : 0  
}  
}  
},  
"Dy8vbNJqSfKEav2\_k47juQ" : {  
"timestamp" : 1687496935598,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"ingest"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0  
}  
}  
},  
"BUFcS\_ORQEaA90Gjl-RUSw" : {  
"timestamp" : 1687496935598,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"ingest"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0  
}  
}  
},  
"aTN8lZOjTmibeel7p134ug" : {  
"timestamp" : 1687496935599,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 10592,  
"evictions" : 0  
}  
}  
},  
"Dz7RagFYQfK1qyX1eqja0w" : {  
"timestamp" : 1687496935596,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"master"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0  
}  
}  
},  
"kX6zKD-3S6GjXxm6n5VOSg" : {  
"timestamp" : 1687496935598,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"master"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0  
}  
}  
},  
"FbNrp1YLQR2ufGFB1dT0ag" : {  
"timestamp" : 1687496935596,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : ,  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0  
}  
}  
}  
}  
}

GET /\_nodes/stats/indices/query\_cache

{  
"\_nodes" : {  
"total" : 13,  
"successful" : 13,  
"failed" : 0  
},  
"cluster\_name" : "abc",  
"nodes" : {  
"Z4dmw8R1Sdas8JdXZ-s77g" : {  
"timestamp" : 1687496981520,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 11734800,  
"total\_count" : 5018258,  
"hit\_count" : 291204,  
"miss\_count" : 4727054,  
"cache\_size" : 624,  
"cache\_count" : 80779,  
"evictions" : 80155  
}  
}  
},  
"mlJ\_WFNyQ6Gcvj1jhMIGXA" : {  
"timestamp" : 1687496981519,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"master"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"total\_count" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0,  
"cache\_size" : 0,  
"cache\_count" : 0,  
"evictions" : 0  
}  
}  
},  
"I6WEDgBaTBeKR5dnjfEKQw" : {  
"timestamp" : 1687496981519,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 11599671,  
"total\_count" : 11008943,  
"hit\_count" : 598070,  
"miss\_count" : 10410873,  
"cache\_size" : 736,  
"cache\_count" : 80709,  
"evictions" : 79973  
}  
}  
},  
"pvVa34W-SI6nno1m4teVhA" : {  
"timestamp" : 1687496981519,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 2670255,  
"total\_count" : 3800405,  
"hit\_count" : 87381,  
"miss\_count" : 3713024,  
"cache\_size" : 990,  
"cache\_count" : 3275,  
"evictions" : 2285  
}  
}  
},  
"WR1l1h3fRtGnklJnb-\_NyQ" : {  
"timestamp" : 1687496981518,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : ,  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"total\_count" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0,  
"cache\_size" : 0,  
"cache\_count" : 0,  
"evictions" : 0  
}  
}  
},  
"j6XoThHLSsaLg6280ciwmA" : {  
"timestamp" : 1687496981526,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : ,  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"total\_count" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0,  
"cache\_size" : 0,  
"cache\_count" : 0,  
"evictions" : 0  
}  
}  
},  
"LGYwB6YTRTW7rGVa5KXGqA" : {  
"timestamp" : 1687496981524,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 2745201,  
"total\_count" : 7495843,  
"hit\_count" : 208548,  
"miss\_count" : 7287295,  
"cache\_size" : 733,  
"cache\_count" : 8641,  
"evictions" : 7908  
}  
}  
},  
"Dy8vbNJqSfKEav2\_k47juQ" : {  
"timestamp" : 1687496981520,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"ingest"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"total\_count" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0,  
"cache\_size" : 0,  
"cache\_count" : 0,  
"evictions" : 0  
}  
}  
},  
"BUFcS\_ORQEaA90Gjl-RUSw" : {  
"timestamp" : 1687496981520,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"ingest"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"total\_count" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0,  
"cache\_size" : 0,  
"cache\_count" : 0,  
"evictions" : 0  
}  
}  
},  
"aTN8lZOjTmibeel7p134ug" : {  
"timestamp" : 1687496981521,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 12281992,  
"total\_count" : 3021839,  
"hit\_count" : 131544,  
"miss\_count" : 2890295,  
"cache\_size" : 646,  
"cache\_count" : 27010,  
"evictions" : 26364  
}  
}  
},  
"Dz7RagFYQfK1qyX1eqja0w" : {  
"timestamp" : 1687496981518,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"master"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"total\_count" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0,  
"cache\_size" : 0,  
"cache\_count" : 0,  
"evictions" : 0  
}  
}  
},  
"kX6zKD-3S6GjXxm6n5VOSg" : {  
"timestamp" : 1687496981520,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"master"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"total\_count" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0,  
"cache\_size" : 0,  
"cache\_count" : 0,  
"evictions" : 0  
}  
}  
},  
"FbNrp1YLQR2ufGFB1dT0ag" : {  
"timestamp" : 1687496981518,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : ,  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"total\_count" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0,  
"cache\_size" : 0,  
"cache\_count" : 0,  
"evictions" : 0  
}  
}  
}  
}  
}

GET /\_nodes/stats/indices/request\_cache

{  
"\_nodes" : {  
"total" : 13,  
"successful" : 13,  
"failed" : 0  
},  
"cluster\_name" : "abc",  
"nodes" : {  
"Z4dmw8R1Sdas8JdXZ-s77g" : {  
"timestamp" : 1687496998360,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 3074032,  
"evictions" : 0,  
"hit\_count" : 184380,  
"miss\_count" : 147386  
}  
}  
},  
"mlJ\_WFNyQ6Gcvj1jhMIGXA" : {  
"timestamp" : 1687496998359,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"master"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0  
}  
}  
},  
"I6WEDgBaTBeKR5dnjfEKQw" : {  
"timestamp" : 1687496998359,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 1311784,  
"evictions" : 0,  
"hit\_count" : 115962,  
"miss\_count" : 151445  
}  
}  
},  
"pvVa34W-SI6nno1m4teVhA" : {  
"timestamp" : 1687496998359,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 5698520,  
"evictions" : 0,  
"hit\_count" : 381786,  
"miss\_count" : 53443  
}  
}  
},  
"WR1l1h3fRtGnklJnb-\_NyQ" : {  
"timestamp" : 1687496998358,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : ,  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0  
}  
}  
},  
"j6XoThHLSsaLg6280ciwmA" : {  
"timestamp" : 1687496998365,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : ,  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0  
}  
}  
},  
"LGYwB6YTRTW7rGVa5KXGqA" : {  
"timestamp" : 1687496998364,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 2258072,  
"evictions" : 0,  
"hit\_count" : 212953,  
"miss\_count" : 35016  
}  
}  
},  
"Dy8vbNJqSfKEav2\_k47juQ" : {  
"timestamp" : 1687496998360,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"ingest"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0  
}  
}  
},  
"BUFcS\_ORQEaA90Gjl-RUSw" : {  
"timestamp" : 1687496998359,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"ingest"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0  
}  
}  
},  
"aTN8lZOjTmibeel7p134ug" : {  
"timestamp" : 1687496998361,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"data"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 3316112,  
"evictions" : 0,  
"hit\_count" : 168049,  
"miss\_count" : 63454  
}  
}  
},  
"Dz7RagFYQfK1qyX1eqja0w" : {  
"timestamp" : 1687496998358,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"master"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0  
}  
}  
},  
"kX6zKD-3S6GjXxm6n5VOSg" : {  
"timestamp" : 1687496998360,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : [  
"master"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0  
}  
}  
},  
"FbNrp1YLQR2ufGFB1dT0ag" : {  
"timestamp" : 1687496998358,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "",  
"ip" : ":9300",  
"roles" : ,  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "false"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0,  
"hit\_count" : 0,  
"miss\_count" : 0  
}  
}  
}  
}  
}

GET /\_cluster/stats

{  
"\_nodes" : {  
"total" : 13,  
"successful" : 13,  
"failed" : 0  
},  
"cluster\_name" : "abc",  
"cluster\_uuid" : "UBp8\_hUuR52ErovfyyzsIw",  
"timestamp" : 1687497787975,  
"status" : "green",  
"indices" : {  
"count" : 43,  
"shards" : {  
"total" : 197,  
"primaries" : 78,  
"replication" : 1.5256410256410255,  
"index" : {  
"shards" : {  
"min" : 2,  
"max" : 27,  
"avg" : 4.5813953488372094  
},  
"primaries" : {  
"min" : 1,  
"max" : 9,  
"avg" : 1.813953488372093  
},  
"replication" : {  
"min" : 1.0,  
"max" : 2.0,  
"avg" : 1.1395348837209303  
}  
}  
},  
"docs" : {  
"count" : 917971599,  
"deleted" : 9249116  
},  
"store" : {  
"size\_in\_bytes" : 351395506606,  
"total\_data\_set\_size\_in\_bytes" : 351395506606,  
"reserved\_in\_bytes" : 0  
},  
"fielddata" : {  
"memory\_size\_in\_bytes" : 43472,  
"evictions" : 0  
},  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 44160083,  
"total\_count" : 30480885,  
"hit\_count" : 1323070,  
"miss\_count" : 29157815,  
"cache\_size" : 4091,  
"cache\_count" : 200872,  
"evictions" : 196781  
},  
"completion" : {  
"size\_in\_bytes" : 0  
},  
"segments" : {  
"count" : 1913,  
"memory\_in\_bytes" : 32389142,  
"terms\_memory\_in\_bytes" : 19660456,  
"stored\_fields\_memory\_in\_bytes" : 3065256,  
"term\_vectors\_memory\_in\_bytes" : 0,  
"norms\_memory\_in\_bytes" : 130176,  
"points\_memory\_in\_bytes" : 0,  
"doc\_values\_memory\_in\_bytes" : 9533254,  
"index\_writer\_memory\_in\_bytes" : 1933072,  
"version\_map\_memory\_in\_bytes" : 5895,  
"fixed\_bit\_set\_memory\_in\_bytes" : 345836304,  
"max\_unsafe\_auto\_id\_timestamp" : 1687478404231,  
"file\_sizes" : { }  
},  
"mappings" : {  
"field\_types" : [  
{  
"name" : "boolean",  
"count" : 65,  
"index\_count" : 24,  
"script\_count" : 0  
},  
{  
"name" : "constant\_keyword",  
"count" : 3,  
"index\_count" : 1,  
"script\_count" : 0  
},  
{  
"name" : "date",  
"count" : 113,  
"index\_count" : 29,  
"script\_count" : 0  
},  
{  
"name" : "float",  
"count" : 75,  
"index\_count" : 11,  
"script\_count" : 0  
},  
{  
"name" : "half\_float",  
"count" : 56,  
"index\_count" : 14,  
"script\_count" : 0  
},  
{  
"name" : "integer",  
"count" : 206,  
"index\_count" : 12,  
"script\_count" : 0  
},  
{  
"name" : "ip",  
"count" : 1,  
"index\_count" : 1,  
"script\_count" : 0  
},  
{  
"name" : "keyword",  
"count" : 725,  
"index\_count" : 32,  
"script\_count" : 0  
},  
{  
"name" : "long",  
"count" : 1259,  
"index\_count" : 23,  
"script\_count" : 0  
},  
{  
"name" : "nested",  
"count" : 46,  
"index\_count" : 14,  
"script\_count" : 0  
},  
{  
"name" : "object",  
"count" : 833,  
"index\_count" : 23,  
"script\_count" : 0  
},  
{  
"name" : "text",  
"count" : 70,  
"index\_count" : 23,  
"script\_count" : 0  
},  
{  
"name" : "version",  
"count" : 1,  
"index\_count" : 1,  
"script\_count" : 0  
}  
],  
"runtime\_field\_types" :   
},  
"analysis" : {  
"char\_filter\_types" : ,  
"tokenizer\_types" : ,  
"filter\_types" : ,  
"analyzer\_types" : ,  
"built\_in\_char\_filters" : ,  
"built\_in\_tokenizers" : ,  
"built\_in\_filters" : ,  
"built\_in\_analyzers" :   
},  
"versions" : [  
{  
"version" : "7.8.1",  
"index\_count" : 14,  
"primary\_shard\_count" : 33,  
"total\_primary\_bytes" : 59554424737  
},  
{  
"version" : "7.17.10",  
"index\_count" : 29,  
"primary\_shard\_count" : 45,  
"total\_primary\_bytes" : 58407546950  
}  
]  
},  
"nodes" : {  
"count" : {  
"total" : 13,  
"coordinating\_only" : 3,  
"data" : 5,  
"data\_cold" : 0,  
"data\_content" : 0,  
"data\_frozen" : 0,  
"data\_hot" : 0,  
"data\_warm" : 0,  
"ingest" : 2,  
"master" : 3,  
"ml" : 0,  
"remote\_cluster\_client" : 0,  
"transform" : 0,  
"voting\_only" : 0  
},  
"versions" : [  
"7.17.10"  
],  
"os" : {  
"available\_processors" : 768,  
"allocated\_processors" : 768,  
"names" : [  
{  
"name" : "Linux",  
"count" : 13  
}  
],  
"pretty\_names" : [  
{  
"pretty\_name" : "CentOS Linux 7 (Core)",  
"count" : 13  
}  
],  
"architectures" : [  
{  
"arch" : "amd64",  
"count" : 13  
}  
],  
"mem" : {  
"total\_in\_bytes" : 5613212852224,  
"free\_in\_bytes" : 4512024473600,  
"used\_in\_bytes" : 1101188378624,  
"free\_percent" : 80,  
"used\_percent" : 20  
}  
},  
"process" : {  
"cpu" : {  
"percent" : 0  
},  
"open\_file\_descriptors" : {  
"min" : 574,  
"max" : 1094,  
"avg" : 789  
}  
},  
"jvm" : {  
"max\_uptime\_in\_millis" : 324226500,  
"versions" : [  
{  
"version" : "20.0.1",  
"vm\_name" : "OpenJDK 64-Bit Server VM",  
"vm\_version" : "20.0.1+9-29",  
"vm\_vendor" : "Oracle Corporation",  
"bundled\_jdk" : true,  
"using\_bundled\_jdk" : true,  
"count" : 13  
}  
],  
"mem" : {  
"heap\_used\_in\_bytes" : 90598081224,  
"heap\_max\_in\_bytes" : 309237645312  
},  
"threads" : 3224  
},  
"fs" : {  
"total\_in\_bytes" : 2227054256128,  
"free\_in\_bytes" : 1858488176640,  
"available\_in\_bytes" : 1858488176640  
},  
"plugins" : ,  
"network\_types" : {  
"transport\_types" : {  
"security4" : 13  
},  
"http\_types" : {  
"security4" : 13  
}  
},  
"discovery\_types" : {  
"zen" : 13  
},  
"packaging\_types" : [  
{  
"flavor" : "default",  
"type" : "rpm",  
"count" : 13  
}  
],  
"ingest" : {  
"number\_of\_pipelines" : 2,  
"processor\_stats" : {  
"gsub" : {  
"count" : 0,  
"failed" : 0,  
"current" : 0,  
"time\_in\_millis" : 0  
},  
"script" : {  
"count" : 0,  
"failed" : 0,  
"current" : 0,  
"time\_in\_millis" : 0  
}  
}  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![mhr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mhr/32/119834_2.png) [@mhr](https://discuss.elastic.co/u/mhr)\
**Post date:** [June 23, 2023, 5:39am UTC](https://discuss.elastic.co/t/elasticsearch-query-cache-shows-no-data/336306/7 "2023-06-23T05:39:42Z")

</div>

ES Version 7.8.1 version  
Heap Size : 32 GB  
GET /\_nodes/stats/indices/fielddata  
######################################################

{  
"\_nodes" : {  
"total" : 12,  
"successful" : 12,  
"failed" : 0  
},  
"cluster\_name" : "Elastic\_readnew1",  
"nodes" : {  
"DwbQOiyXRamzW4wvZs5ufQ" : {  
"timestamp" : 1687497969897,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0  
}  
}  
},  
"eGGDJg7YQNe7DEC\_sIjBRg" : {  
"timestamp" : 1687497969898,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 3248,  
"evictions" : 0  
}  
}  
},  
"sp\_V3ZIWSHSHIQD38BpQRQ" : {  
"timestamp" : 1687497969889,  
"name" : "4436",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 1104,  
"evictions" : 0  
}  
}  
},  
"aJ30-mzHQOOMfZEaQpiqcg" : {  
"timestamp" : 1687497969890,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 6192,  
"evictions" : 0  
}  
}  
},  
"uewVwQHJRpKp7IQybzPBlw" : {  
"timestamp" : 1687497969892,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0  
}  
}  
},  
"beRV4WO8Sgq2-02MHhJPpg" : {  
"timestamp" : 1687497969898,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 16992,  
"evictions" : 0  
}  
}  
},  
"mNiJwAlPTySG3S0fHckOgQ" : {  
"timestamp" : 1687497969891,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 6216,  
"evictions" : 0  
}  
}  
},  
"Rv3Uqb7qTA2tuk026ummeA" : {  
"timestamp" : 1687497969896,  
"name" : "4435",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0  
}  
}  
},  
"3LqA3SgOTkiJWDCeVtr9Ng" : {  
"timestamp" : 1687497969892,  
"name" : "4433",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 0,  
"evictions" : 0  
}  
}  
},  
"Y1qwLqPhSFCUznwLIdUHjA" : {  
"timestamp" : 1687497969903,  
"name" : "4434",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 7200,  
"evictions" : 0  
}  
}  
},  
"7587VnjvRvK958pmrjFhaA" : {  
"timestamp" : 1687497969901,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 20704,  
"evictions" : 0  
}  
}  
},  
"HErC5mtQSQ-uoRYqbHLaWA" : {  
"timestamp" : 1687497969890,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"fielddata" : {  
"memory\_size\_in\_bytes" : 3504,  
"evictions" : 0  
}  
}  
}  
}  
}  
######################################################

GET /\_nodes/stats/indices/query\_cache  
############################################  
{  
"\_nodes" : {  
"total" : 12,  
"successful" : 12,  
"failed" : 0  
},  
"cluster\_name" : "Elastic\_readnew1",  
"nodes" : {  
"DwbQOiyXRamzW4wvZs5ufQ" : {  
"timestamp" : 1687497896408,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 3416645056,  
"total\_count" : 149917868843,  
"hit\_count" : 18023175769,  
"miss\_count" : 131894693074,  
"cache\_size" : 1697,  
"cache\_count" : 886284,  
"evictions" : 884587  
}  
}  
},  
"eGGDJg7YQNe7DEC\_sIjBRg" : {  
"timestamp" : 1687497896410,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 3432514465,  
"total\_count" : 87586470609,  
"hit\_count" : 5307421236,  
"miss\_count" : 82279049373,  
"cache\_size" : 3535,  
"cache\_count" : 641052,  
"evictions" : 637517  
}  
}  
},  
"sp\_V3ZIWSHSHIQD38BpQRQ" : {  
"timestamp" : 1687497896401,  
"name" : "4436",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 3428413032,  
"total\_count" : 194592806972,  
"hit\_count" : 11833734210,  
"miss\_count" : 182759072762,  
"cache\_size" : 6113,  
"cache\_count" : 1704822,  
"evictions" : 1698709  
}  
}  
},  
"aJ30-mzHQOOMfZEaQpiqcg" : {  
"timestamp" : 1687497896402,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 3434294496,  
"total\_count" : 189621169756,  
"hit\_count" : 9527354036,  
"miss\_count" : 180093815720,  
"cache\_size" : 4395,  
"cache\_count" : 1248846,  
"evictions" : 1244451  
}  
}  
},  
"uewVwQHJRpKp7IQybzPBlw" : {  
"timestamp" : 1687497896404,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 3419636912,  
"total\_count" : 228118073116,  
"hit\_count" : 15094190448,  
"miss\_count" : 213023882668,  
"cache\_size" : 4878,  
"cache\_count" : 1923091,  
"evictions" : 1918213  
}  
}  
},  
"beRV4WO8Sgq2-02MHhJPpg" : {  
"timestamp" : 1687497896414,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 3417133640,  
"total\_count" : 161310178155,  
"hit\_count" : 18169682888,  
"miss\_count" : 143140495267,  
"cache\_size" : 1962,  
"cache\_count" : 1072147,  
"evictions" : 1070185  
}  
}  
},  
"mNiJwAlPTySG3S0fHckOgQ" : {  
"timestamp" : 1687497896403,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 3430099200,  
"total\_count" : 113629852160,  
"hit\_count" : 7368595723,  
"miss\_count" : 106261256437,  
"cache\_size" : 9353,  
"cache\_count" : 944360,  
"evictions" : 935007  
}  
}  
},  
"Rv3Uqb7qTA2tuk026ummeA" : {  
"timestamp" : 1687497896408,  
"name" : "4435",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 3433166577,  
"total\_count" : 174234235446,  
"hit\_count" : 12054749408,  
"miss\_count" : 162179486038,  
"cache\_size" : 7446,  
"cache\_count" : 1568349,  
"evictions" : 1560903  
}  
}  
},  
"3LqA3SgOTkiJWDCeVtr9Ng" : {  
"timestamp" : 1687497896404,  
"name" : "4433",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 3422161119,  
"total\_count" : 171755792923,  
"hit\_count" : 19889267090,  
"miss\_count" : 151866525833,  
"cache\_size" : 2627,  
"cache\_count" : 1517457,  
"evictions" : 1514830  
}  
}  
},  
"Y1qwLqPhSFCUznwLIdUHjA" : {  
"timestamp" : 1687497896415,  
"name" : "4434",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 3428202537,  
"total\_count" : 156159672653,  
"hit\_count" : 10928809586,  
"miss\_count" : 145230863067,  
"cache\_size" : 6056,  
"cache\_count" : 1690367,  
"evictions" : 1684311  
}  
}  
},  
"7587VnjvRvK958pmrjFhaA" : {  
"timestamp" : 1687497896413,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 3434087319,  
"total\_count" : 62050061995,  
"hit\_count" : 4501001533,  
"miss\_count" : 57549060462,  
"cache\_size" : 4697,  
"cache\_count" : 486407,  
"evictions" : 481710  
}  
}  
},  
"HErC5mtQSQ-uoRYqbHLaWA" : {  
"timestamp" : 1687497896402,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 3431291568,  
"total\_count" : 134974917950,  
"hit\_count" : 8512611007,  
"miss\_count" : 126462306943,  
"cache\_size" : 4100,  
"cache\_count" : 921947,  
"evictions" : 917847  
}  
}  
}  
}  
}  
###########################################  
GET /\_nodes/stats/indices/request\_cache  
#########################################

{  
"\_nodes" : {  
"total" : 12,  
"successful" : 12,  
"failed" : 0  
},  
"cluster\_name" : "Elastic\_readnew1",  
"nodes" : {  
"DwbQOiyXRamzW4wvZs5ufQ" : {  
"timestamp" : 1687497934659,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 77696695,  
"evictions" : 331358518,  
"hit\_count" : 4199216000,  
"miss\_count" : 13160521765  
}  
}  
},  
"eGGDJg7YQNe7DEC\_sIjBRg" : {  
"timestamp" : 1687497934661,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 145291887,  
"evictions" : 580134907,  
"hit\_count" : 5648205068,  
"miss\_count" : 11863757144  
}  
}  
},  
"sp\_V3ZIWSHSHIQD38BpQRQ" : {  
"timestamp" : 1687497934651,  
"name" : "4436",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 113428107,  
"evictions" : 906760986,  
"hit\_count" : 5126450866,  
"miss\_count" : 13422933050  
}  
}  
},  
"aJ30-mzHQOOMfZEaQpiqcg" : {  
"timestamp" : 1687497934652,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 66707097,  
"evictions" : 1023249108,  
"hit\_count" : 6083053397,  
"miss\_count" : 12425479835  
}  
}  
},  
"uewVwQHJRpKp7IQybzPBlw" : {  
"timestamp" : 1687497934654,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 390423934,  
"evictions" : 985964481,  
"hit\_count" : 5355098843,  
"miss\_count" : 16145465276  
}  
}  
},  
"beRV4WO8Sgq2-02MHhJPpg" : {  
"timestamp" : 1687497934661,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 139211355,  
"evictions" : 311517349,  
"hit\_count" : 3813115921,  
"miss\_count" : 12390077296  
}  
}  
},  
"mNiJwAlPTySG3S0fHckOgQ" : {  
"timestamp" : 1687497934653,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 150296919,  
"evictions" : 340709125,  
"hit\_count" : 4532388062,  
"miss\_count" : 10464214324  
}  
}  
},  
"Rv3Uqb7qTA2tuk026ummeA" : {  
"timestamp" : 1687497934658,  
"name" : "4435",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 369042783,  
"evictions" : 659313508,  
"hit\_count" : 6749415920,  
"miss\_count" : 13638412341  
}  
}  
},  
"3LqA3SgOTkiJWDCeVtr9Ng" : {  
"timestamp" : 1687497934654,  
"name" : "4433",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 149611460,  
"evictions" : 592734614,  
"hit\_count" : 4788949809,  
"miss\_count" : 14487413741  
}  
}  
},  
"Y1qwLqPhSFCUznwLIdUHjA" : {  
"timestamp" : 1687497934665,  
"name" : "4434",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 55514232,  
"evictions" : 885423615,  
"hit\_count" : 5445822236,  
"miss\_count" : 11940627741  
}  
}  
},  
"7587VnjvRvK958pmrjFhaA" : {  
"timestamp" : 1687497934663,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"master",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 383070499,  
"evictions" : 943708417,  
"hit\_count" : 6547530653,  
"miss\_count" : 10802877027  
}  
}  
},  
"HErC5mtQSQ-uoRYqbHLaWA" : {  
"timestamp" : 1687497934652,  
"name" : "",  
"transport\_address" : ":9300",  
"host" : "64116",  
"ip" : ":9300",  
"roles" : [  
"data",  
"ingest",  
"remote\_cluster\_client",  
"transform"  
],  
"attributes" : {  
"xpack.installed" : "true",  
"transform.node" : "true"  
},  
"indices" : {  
"request\_cache" : {  
"memory\_size\_in\_bytes" : 339461309,  
"evictions" : 1169552281,  
"hit\_count" : 5275914607,  
"miss\_count" : 11706333177  
}  
}  
}  
}  
}

#########################################

GET \_cluster/stats  
###########################################

{  
"\_nodes" : {  
"total" : 12,  
"successful" : 12,  
"failed" : 0  
},  
"cluster\_name" : "Elastic\_readnew1",  
"cluster\_uuid" : "lBXhoYY-S3SvkG6Alr8izQ",  
"timestamp" : 1687498369525,  
"status" : "green",  
"indices" : {  
"count" : 38,  
"shards" : {  
"total" : 137,  
"primaries" : 57,  
"replication" : 1.4035087719298245,  
"index" : {  
"shards" : {  
"min" : 2,  
"max" : 27,  
"avg" : 3.6052631578947367  
},  
"primaries" : {  
"min" : 1,  
"max" : 9,  
"avg" : 1.5  
},  
"replication" : {  
"min" : 1.0,  
"max" : 2.0,  
"avg" : 1.105263157894737  
}  
}  
},  
"docs" : {  
"count" : 468315679,  
"deleted" : 97435692  
},  
"store" : {  
"size\_in\_bytes" : 204793083966  
},  
"fielddata" : {  
"memory\_size\_in\_bytes" : 65160,  
"evictions" : 0  
},  
"query\_cache" : {  
"memory\_size\_in\_bytes" : 41137454880,  
"total\_count" : 1824153679282,  
"hit\_count" : 141226232710,  
"miss\_count" : 1682927446572,  
"cache\_size" : 56949,  
"cache\_count" : 14606340,  
"evictions" : 14549391  
},  
"completion" : {  
"size\_in\_bytes" : 0  
},  
"segments" : {  
"count" : 1390,  
"memory\_in\_bytes" : 24339026,  
"terms\_memory\_in\_bytes" : 14110960,  
"stored\_fields\_memory\_in\_bytes" : 2643944,  
"term\_vectors\_memory\_in\_bytes" : 0,  
"norms\_memory\_in\_bytes" : 252864,  
"points\_memory\_in\_bytes" : 0,  
"doc\_values\_memory\_in\_bytes" : 7331258,  
"index\_writer\_memory\_in\_bytes" : 451816388,  
"version\_map\_memory\_in\_bytes" : 44191393,  
"fixed\_bit\_set\_memory\_in\_bytes" : 207784320,  
"max\_unsafe\_auto\_id\_timestamp" : 1687478408582,  
"file\_sizes" : { }  
},  
"mappings" : {  
"field\_types" : [  
{  
"name" : "binary",  
"count" : 3,  
"index\_count" : 1  
},  
{  
"name" : "boolean",  
"count" : 79,  
"index\_count" : 23  
},  
{  
"name" : "date",  
"count" : 145,  
"index\_count" : 36  
},  
{  
"name" : "flattened",  
"count" : 1,  
"index\_count" : 1  
},  
{  
"name" : "float",  
"count" : 76,  
"index\_count" : 9  
},  
{  
"name" : "geo\_shape",  
"count" : 1,  
"index\_count" : 1  
},  
{  
"name" : "half\_float",  
"count" : 56,  
"index\_count" : 14  
},  
{  
"name" : "integer",  
"count" : 202,  
"index\_count" : 12  
},  
{  
"name" : "keyword",  
"count" : 1015,  
"index\_count" : 38  
},  
{  
"name" : "long",  
"count" : 1350,  
"index\_count" : 33  
},  
{  
"name" : "nested",  
"count" : 40,  
"index\_count" : 14  
},  
{  
"name" : "object",  
"count" : 1042,  
"index\_count" : 26  
},  
{  
"name" : "text",  
"count" : 319,  
"index\_count" : 28  
}  
]  
},  
"analysis" : {  
"char\_filter\_types" : ,  
"tokenizer\_types" : ,  
"filter\_types" : ,  
"analyzer\_types" : ,  
"built\_in\_char\_filters" : ,  
"built\_in\_tokenizers" : ,  
"built\_in\_filters" : ,  
"built\_in\_analyzers" :   
}  
},  
"nodes" : {  
"count" : {  
"total" : 12,  
"coordinating\_only" : 0,  
"data" : 12,  
"ingest" : 12,  
"master" : 5,  
"ml" : 0,  
"remote\_cluster\_client" : 12,  
"transform" : 12,  
"voting\_only" : 0  
},  
"versions" : [  
"7.8.1"  
],  
"os" : {  
"available\_processors" : 832,  
"allocated\_processors" : 832,  
"names" : [  
{  
"name" : "Linux",  
"count" : 12  
}  
],  
"pretty\_names" : [  
{  
"pretty\_name" : "CentOS Linux 7 (Core)",  
"count" : 12  
}  
],  
"mem" : {  
"total\_in\_bytes" : 1073733656576,  
"free\_in\_bytes" : 49865687040,  
"used\_in\_bytes" : 1023867969536,  
"free\_percent" : 5,  
"used\_percent" : 95  
}  
},  
"process" : {  
"cpu" : {  
"percent" : 208  
},  
"open\_file\_descriptors" : {  
"min" : 1064,  
"max" : 2231,  
"avg" : 1455  
}  
},  
"jvm" : {  
"max\_uptime\_in\_millis" : 5522929494,  
"versions" : [  
{  
"version" : "14.0.1",  
"vm\_name" : "OpenJDK 64-Bit Server VM",  
"vm\_version" : "14.0.1+7",  
"vm\_vendor" : "AdoptOpenJDK",  
"bundled\_jdk" : true,  
"using\_bundled\_jdk" : true,  
"count" : 12  
}  
],  
"mem" : {  
"heap\_used\_in\_bytes" : 201427414376,  
"heap\_max\_in\_bytes" : 412316860416  
},  
"threads" : 23164  
},  
"fs" : {  
"total\_in\_bytes" : 5859767746560,  
"free\_in\_bytes" : 5092098555904,  
"available\_in\_bytes" : 5092098555904  
},  
"plugins" : ,  
"network\_types" : {  
"transport\_types" : {  
"security4" : 12  
},  
"http\_types" : {  
"security4" : 12  
}  
},  
"discovery\_types" : {  
"zen" : 12  
},  
"packaging\_types" : [  
{  
"flavor" : "default",  
"type" : "tar",  
"count" : 12  
}  
],  
"ingest" : {  
"number\_of\_pipelines" : 2,  
"processor\_stats" : {  
"gsub" : {  
"count" : 0,  
"failed" : 0,  
"current" : 0,  
"time\_in\_millis" : 0  
},  
"script" : {  
"count" : 0,  
"failed" : 0,  
"current" : 0,  
"time\_in\_millis" : 0  
}  
}  
}  
}  
}  
###########################################

---

<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:** [June 23, 2023, 5:39am UTC](https://discuss.elastic.co/t/elasticsearch-query-cache-shows-no-data/336306/8 "2023-06-23T05:39:42Z")

</div>

Version 7.8.1 is [EOL](https://www.elastic.co/support/eol) and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

---

<div class="post-metadata">

**Author:** ![mhr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mhr/32/119834_2.png) [@mhr](https://discuss.elastic.co/u/mhr)\
**Post date:** [June 30, 2023, 1:08am UTC](https://discuss.elastic.co/t/elasticsearch-query-cache-shows-no-data/336306/9 "2023-06-30T01:08:42Z")

</div>

After upgrading to ES version 7.17.10 . we do not see data in Query Cache.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/c/0c3e78af98140f86ed04564d3672883f254eaac9.png)

---

<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 28, 2023, 1:08am UTC](https://discuss.elastic.co/t/elasticsearch-query-cache-shows-no-data/336306/10 "2023-07-28T01:08:45Z")

</div>

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