Shard Query Cache: Expensive if only a few queries 'hit'?


(Luca Wintergerst) #1

Hello,

i have been experimenting with the shard query cache lately and have seen great results in a few cases.
Kibana board load times went from 70s to 10s, if the time range is selected correctly.

But since you have to use static time ranges, e.g. 'this week' 'today' and so on, it may not be used that often.

My question is if the overhead will be expensive if I just enable it by default on all indices.

Will the expense only be the % of HEAP I sacrifice to it?
Does it need much extra CPU?
Will queries which 'miss' the cache take longer than before?

Thanks,
Luca


(system) #2