Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3708

Make VolcanoCost account cpu and io properties when comparing costs

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.21.0
    • Fix Version/s: None
    • Component/s: core

      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

            Activity

              People

              • Assignee:
                vladimirsitnikov Vladimir Sitnikov
                Reporter:
                vladimirsitnikov Vladimir Sitnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m