-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
None
-
Fully Compatible
-
Quint Iteration 3, Quint Iteration 4
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.
- 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