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

Refactor the hist-ce prototype to separate estimation logic from histograms

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • QO 2022-07-11, QO 2022-07-25, QO 2022-08-08

      Architecture:

      • class Histogram becomes ScalarHistogram has no estimation functionality,
      • class ArrayEstimator becomes Histogram that contains up to 4 histograms, 3 of them optional,
      • new class Statistics provides storage for histograms, and an interface to fetch a histogram keyed by a path, and also methods for other CE-related metadata as collection cardinality,
      • all histogram-based estimation is moved into its own module. It could be a set of functions, or a class if needed.

            Assignee:
            alya.berciu@mongodb.com Alya Berciu
            Reporter:
            timour.katchaounov@mongodb.com Timour Katchaounov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: