Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-79635

[CQF] Consider the number of projections produced by a PhysicalScan when determining its cost

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization

      Currently the cost of a PhysicalScan node (and Seek and IndexScan) is a function of its cardinality estimate and startup/marginal cost coefficients. It ignores the number of projections it must produce. This leads to plans that incorrectly have identical costs according to the cost model, but in reality have different runtimes.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: