You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xiaoxiang Yu (Jira)" <ji...@apache.org> on 2021/04/06 07:47:00 UTC

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

     [ https://issues.apache.org/jira/browse/KYLIN-4933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiaoxiang Yu resolved KYLIN-4933.
---------------------------------
    Resolution: Fixed

> Support set cache strength for dict cache
> -----------------------------------------
>
>                 Key: KYLIN-4933
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4933
>             Project: Kylin
>          Issue Type: Improvement
>    Affects Versions: v3.1.1
>            Reporter: ShengJun Zheng
>            Assignee: ShengJun Zheng
>            Priority: Major
>             Fix For: v3.1.2
>
>
> 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)