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

pushdown $group ahead of unpack with $count

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Integration
    • Fully Compatible
    • v7.0, v6.0
    • QE 2023-08-07

      This is a follow-up ticket to SERVER-78234 to extend the optimization that exists for $group with min/max to $group that uses $count. For v2 buckets we can use control.count, and for v1 buckets we need to compute based on the timeField.

            Assignee:
            gil.alon@mongodb.com Gil Alon
            Reporter:
            gil.alon@mongodb.com Gil Alon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: