Hi everybody,
I have the following config for the brokers:
druid.broker.cache.populateCache=false
druid.broker.cache.populateResultLevelCache=true
druid.broker.cache.useCache=false
druid.broker.cache.useResultLevelCache=true
And on the historicals:
druid.historical.cache.populateCache=true
druid.historical.cache.useCache=true
The per-segment cache works really nicely on historicals, but I only
see cache misses reported by the broker (where IIUC I am using only
the ResultLevel cache for whole queries), and the cache size doesn't
grow at all. I am wondering if I need to adjust any setting, I used
the config suggested in
https://druid.apache.org/docs/latest/querying/caching.html:
Brokers support both segment-level and whole-query result level caching. Segment-level caching is controlled by the parameters useCache and populateCache. Whole-query result level caching is controlled by the parameters useResultLevelCache and populateResultLevelCache and runtime properties druid.broker.cache.*.
Is there anything that I am missing or is it all related to my query patterns?
Thanks in advance!
Luca