Make non-block-based $group stages with more than 16 accumulators SBE ineligible

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2026-01-19, QE 2025-12-08
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, $group performance in SBE is more sensitive to the number of accumulators than in Classic, with 16 accumulators being a rough cutoff for when it no longer makes sense to use SBE.

      We don't want to apply this limit to $group stages that would run using block processing, however, because block processing requires SBE and provides a significant performance improvement.

            Assignee:
            Justin Seyster
            Reporter:
            Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: