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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Integration
    • QI 2024-04-15, QI 2024-04-29

      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:
            Unassigned Unassigned
            Reporter:
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: