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

Compute cardinality estimates for statistics computed with sampling

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2023-02-06

      CE should use the sample rate to multiply the final estimate. Let's say if sample rate 0.5. then we should multiply each estimate by 2.

      All per-type counters have to be scaled as well, not just the histogram-based estimates.

            Assignee:
            alya.berciu@mongodb.com Alya Berciu
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: