[
https://issues.apache.org/jira/browse/KYLIN-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruixuan Zhang updated KYLIN-5452:
---------------------------------
Description:
h2. Design
Optimize
org.apache.calcite.adapter.enumerable.EnumerableInterpretable#getBindable with
cache.
Cherry-pick from
[https://github.com/apache/calcite/pull/950|https://github.com/apache/calcite/pull/950,],
Calcite 1.19 uses Guava cache on Bindable instances.
Similar to {{calcite.bindable.cache.maxSize}} and
{{{}calcite.bindable.cache.concurrencyLevel{}}}, two KYLIN configs are added as
follows:
{code:java}
# Cache max size, default value is 10
kylin.query.calcite.bindable.cache.maxSize
# controll the concurrency level of cache, default value is 5
kylin.query.calcite.bindable.cache.concurrencyLevel{code}
was:
h2. Design
Optimize
org.apache.calcite.adapter.enumerable.EnumerableInterpretable#getBindable.
Cherry-pick from
[https://github.com/apache/calcite/pull/950|https://github.com/apache/calcite/pull/950,],
Calcite 1.19 uses Guava cache on Bindable instances.
Similar to {{calcite.bindable.cache.maxSize}} and
{{{}calcite.bindable.cache.concurrencyLevel{}}}, two KYLIN configs are added as
follows:
{code:java}
# Cache max size, default value is 10
kylin.query.calcite.bindable.cache.maxSize
# controll the concurrency level of cache, default value is 5
kylin.query.calcite.bindable.cache.concurrencyLevel{code}
> Constant query performance optimization
> ---------------------------------------
>
> Key: KYLIN-5452
> URL: https://issues.apache.org/jira/browse/KYLIN-5452
> Project: Kylin
> Issue Type: Improvement
> Components: Query Engine
> Affects Versions: 5.0-alpha
> Reporter: Ruixuan Zhang
> Assignee: Ruixuan Zhang
> Priority: Major
> Fix For: 5.0-alpha
>
> Attachments: e137a0be-ee8b-4b0d-adcb-049c1043f290.png
>
>
> h2. Design
> Optimize
> org.apache.calcite.adapter.enumerable.EnumerableInterpretable#getBindable
> with cache.
> Cherry-pick from
> [https://github.com/apache/calcite/pull/950|https://github.com/apache/calcite/pull/950,],
> Calcite 1.19 uses Guava cache on Bindable instances.
> Similar to {{calcite.bindable.cache.maxSize}} and
> {{{}calcite.bindable.cache.concurrencyLevel{}}}, two KYLIN configs are added
> as follows:
>
> {code:java}
> # Cache max size, default value is 10
> kylin.query.calcite.bindable.cache.maxSize
> # controll the concurrency level of cache, default value is 5
> kylin.query.calcite.bindable.cache.concurrencyLevel{code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)