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

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

    [ https://issues.apache.org/jira/browse/KYLIN-4933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17315318#comment-17315318 ] 

ASF subversion and git services commented on KYLIN-4933:
--------------------------------------------------------

Commit ca0801201a4a5b3a78dd6fac788cbc5bde7e2bbd in kylin's branch refs/heads/master from zhengshengjun
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=ca08012 ]

KYLIN-4933 Support set cache strength for dict cache


> 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)