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

Allow $group pushdown to work with $exchange

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization

      After SERVER-92457, we will have the ability to fully push down $groups to shards (no residual $group on merging pipeline) in cases where the _id field is a superset of the shard key. We initially disabled this optimization for cases where the $exchange optimization can kick in, in order to minimize the effect of that ticket, but we should be able to do both optimizations together, since such a $group should "preserve" data that is partitioned by chunks owned by a given shard (i.e. no overlap between groups produced by different shards).

            Assignee:
            Unassigned Unassigned
            Reporter:
            alya.berciu@mongodb.com Alya Berciu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: