Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Done
-
None
-
None
-
Fully Compatible
-
Quint Iteration 3, Quint Iteration 4
Description
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.
Attachments
Issue Links
- is related to
-
SERVER-18940 Optimise sharded aggregations that are targeted to a single shard
-
- Closed
-
- related to
-
SERVER-18444 Improve explain output of aggregation command in sharded cluster
-
- Closed
-
-
SERVER-23330 Optimize aggregation on sharded setup if first stage is exact match on shard key with $in
-
- Closed
-