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

Cardinality estimate of the minimum values of data types

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2022-11-14

      Investigate what is the best cardinality estimate of the minimum value of a given data type, e.g. empty string. When the value falls inside of a bucket we can estimate the equality as follows:

      1) use the equality frequency for the inner bucket values (rangeFreq / NDV)

      2) use kMinCard = 0.01 (if the value actually exists in the data, this will lead to underestimation).

            Assignee:
            milena.ivanova@mongodb.com Milena Ivanova
            Reporter:
            milena.ivanova@mongodb.com Milena Ivanova
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: