[
https://issues.apache.org/jira/browse/CALCITE-3708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-3708:
------------------------------------
Labels: pull-request-available (was: )
> Make VolcanoCost account cpu and io properties when comparing costs
> -------------------------------------------------------------------
>
> Key: CALCITE-3708
> URL: https://issues.apache.org/jira/browse/CALCITE-3708
> Project: Calcite
> Issue Type: New Feature
> Components: core
> Affects Versions: 1.21.0
> Reporter: Vladimir Sitnikov
> Assignee: Vladimir Sitnikov
> Priority: Major
> Labels: pull-request-available
>
> Currently, {{VolcanoCost}} compares {{rows}} only, which does not allow for
> proper cost comparison of joins, projections, filters.
> The idea is to use {{cpu + io * cpuPerIo}} calculation for comparison, and
> ignore {{rows}} part.
> {{cpuPerIo}} could be configured with
> {{org.apache.calcite.config.CalciteConnectionConfig#volcanoCostIoPerCpu}}
> which comes from {{volcanoCostIoPerCpu}} connection property and defatlts to
> {{calcite.volcano.default.cpu_per_io}} system property.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)