I have refresh interval of 1 minute. Even if I make the same query repeatedly, the cache hit count increases and sometimes miss_count increase. There are no evictions yet. Can someone help what is the issue ?
@spinscale Thanks for your reply. Can you please guide me. How to get the hits also with caching enabled. I have checked that we have to specify size: 0 but I need hits as a primary objective of this query.
Can we change the query a little bit to get hits and also enable caching.
Can you explain why you need caching? Maybe there is the possibility to optimize queries and datamodels (for example not requiring an exact hit count might help as well in Elasticsearch 7.x).
@DeeeFOX
I have tried the filesystem preload and monitored the RAM cache and but there is no change in it.
I have ES data node in k8s node (60Gi RAM). Below is the RAM usage graph. I have actually allocated 50Gi to ES node. I think RAM free includes the 10Gi RAM that is not allocated.
What do you think ?
Ahhh, sorry for forgetting to remind u, one more thing u should set to enable the preload settings: the index store type, by default is "hybridfs", and to our tsdb-use-case:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.