Compute min/max batchSize constraints of $facet by comparing constraints of subpipelines

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • QI 2024-04-15, QI 2024-04-29
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-86732 implemented an algorithm to compute the minimum and maximum constraints of documents needed to satisfy a query. Currently, $facet is treated as a blackbox where all constraints are treated as unknown. We could traverse the $facet subpipelines to infer constraints on each subpipeline then compare to gather more precise constraints for the overall pipeline.

            Assignee:
            Will Buerger
            Reporter:
            Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: