I realized that ES 2.x has two types of caches (i. Node Query Cache, ii. Shard Request Cache)
What I really wanted is "Shard Request Cache" which is disabled by default, so that I'd like to enable it. Before enabling it, I'm wondering why "Shard Request Cache" is disabled by default and why it's size is so small (1% of heap size)
My question is..
- Is there any performance loss if I enable shard query cache?
- e.g) Cache lock contention or indexing rate decreases for any reasons.
1%sufficient for shard level cache? if hard to answer, why is it small compared to "Node Query Cache" (10% of heap by default)
I'm using ES under the below circumstances:
- ES 2.3.2
- 20GB of Heap
- daily index (only today's index is indexed by 5k/sec)
- use only
constant_scorequery. no scoring