You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by Johnson <it...@163.com> on 2019/11/21 03:40:00 UTC

when query,load/remove dict 耗时严重的问题

hi,all
最近我在追查慢查询的问题:发现在查询的时候加载dict耗时很长,而且为什么会在查询的时候删除某些系统cube的dict,耗时多达10s,严重影响查询速度
Dict with resource path /dict/KYLIN.HIVE_METRICS_QUERY_RPC_QA/KDAY_DATE/8a4b4c8f-2e81-3ec3-74f1-95dad914745b.dict is removed due to SIZE
如图:

Re: when query,load/remove dict 耗时严重的问题

Posted by Wang rupeng <wa...@live.cn>.
Hi,

               You can try to add property kylin.dictionary.max-cache-entry  with value bigger than 3000(the default) in $KYLIN_HOME/conf/kylin.properties .



-------------------
Best wishes,
Rupeng Wang




发件人: Johnson <it...@163.com>
答复: <us...@kylin.apache.org>
日期: 2019年11月21日 星期四 11:40
收件人: "user@kylin.apache.org" <us...@kylin.apache.org>
主题: when query,load/remove dict 耗时严重的问题

hi,all
最近我在追查慢查询的问题:发现在查询的时候加载dict耗时很长,而且为什么会在查询的时候删除某些系统cube的dict,耗时多达10s,严重影响查询速度
Dict with resource path /dict/KYLIN.HIVE_METRICS_QUERY_RPC_QA/KDAY_DATE/8a4b4c8f-2e81-3ec3-74f1-95dad914745b.dict is removed due to SIZE
如图:
[cid:image001.png@01D5A08D.44B6C800]