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

Extend NDV Support for Non-Histogrammable Types in TypeCounts

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

      We currently lack the capability to estimate intervals for non-histogrammable types by dividing TypeCounts counter by the number of distinct values (NDV). Currently, NDV is only available for histogrammable types, as referenced in the code here.

      Extending NDV support to non-histogrammable types in TypeCounts would enable interval estimation by dividing TypeCounts counter by NDV.

            Assignee:
            Unassigned Unassigned
            Reporter:
            chii.huang@mongodb.com Chi-I Huang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: