-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Performance, Sharding
-
None
some users put thousands of items in $in queries.
MongoS just sends the entire $in array to all shards.
Instead, if the field is the shard key, filter only relevant values to each shard.
- duplicates
-
SERVER-1007 rewrite $in queries on shard key to only include keys on each shard
- Backlog