You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ShengJun Zheng (Jira)" <ji...@apache.org> on 2021/03/12 02:13:00 UTC

[jira] [Created] (KYLIN-4933) Support set cache strength for dict cache

ShengJun Zheng created KYLIN-4933:
-------------------------------------

             Summary: Support set cache strength for dict cache
                 Key: KYLIN-4933
                 URL: https://issues.apache.org/jira/browse/KYLIN-4933
             Project: Kylin
          Issue Type: Improvement
            Reporter: ShengJun Zheng


Kylin uses guava LoadingCache(LUR Cache) to cache dictionary with soft(SoftReference) cache strength , it will be collected due to JVM GC. 

In cases of queries over  dict-encoded-dimension cubes, we would always prefer to cache dimension dictionary in LUR cache to avoid reloading dict from HBase/HDFS, which will causes unstable query performance.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)