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

Integrate histogram estimation with the statistics module and the optimizer

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • QO 2022-10-31

      The statistics module should provide the following functionality:

      • ability to build histograms and statistics against mongodb collections,
      • an "analyze" command that triggers the statistics collection process,
      • a way to access a cache object that knows how to retrieve statistics from disk, and provides access to collection histograms keyed by paths.

      Based on this functionality this task:

      • CE should be extended to request histograms for certain collections and paths, and use them when available.
      • Implement basic integration (JS) tests that test CE accuracy against data stored in a collection.
        • Statistics is built via an "analyze" command.
        • The JS tests use the golden-test framework implemented by SERVER-67415.

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

              Created:
              Updated:
              Resolved: