Selecting the appropriate shard to send a query to takes a long time on $in queries. SERVER-4745 mitigates the affect of this, but this code could use rewriting and further optimization.
- is duplicated by
-
SERVER-9205 MongoS does not re-write $in queries which results in all terms in $in array being sent to all shards
- Closed
- is related to
-
SERVER-50299 Shard Targeting for $in statements
- Closed
- related to
-
SERVER-4745 Figuring out which shard to send a query to takes a long time when doing large $in queries on the shard key
- Closed
-
SERVER-4555 check and clean sharding utilization of queryutil code
- Closed
-
SERVER-9332 Mongos should re-write $in queries on the shard key before sending them to the shards so that the shards only receive the relevant portion of the $in
- Closed