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

[CQF] Refine Costing for Spool-based RIN

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

      Currently we assign the group-level CE to all operators involved in the spool based RIN. Instead, for the inner distinct scans we should attempt to estimate the number of distinct values in order to allow costing to compute a more realistic plan cost. This can be some global heuristic (say 10% of the values are unique) or some simple function initially.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            svilen.mihaylov@mongodb.com Svilen Mihaylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: