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

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • 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:
            Unassigned
            Reporter:
            Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: