Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Abandoned
-
1.21.0
-
None
Description
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.
Attachments
Issue Links
- is depended upon by
-
CALCITE-3709 Use "rejected row count" for RelOptCost#getRows
- Open
- is related to
-
CALCITE-4264 The query planner should take CPU cost into account
- Open
- links to