Optimize aggregation on sharded setup if first stage is exact match on shard key

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.0.9, 3.1.4
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Fully Compatible
    • Quint Iteration 3, Quint Iteration 4
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If only one shard is involved in an aggregate operation, handle this like an aggregation on non-sharded setups.

      This will improve performance and reduce memory and network activity for many sharded setups, where the shardkey is for example the userId.

              Assignee:
              Charlie Swanson
              Reporter:
              Gernot Pansy
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: