-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
QO 2023-09-04, QO 2023-09-18
We can omit shard filtering when the query contains an equality predicate on all fields of the shard key because all documents are guaranteed to be owned by this shard.
We can modify the implementer for SargableNode to perform this optimization when the node is being optimized with RemoveOrphansRequirement.
- related to
-
SERVER-80824 Complete TODO listed in SERVER-79854
- Closed
- split from
-
SERVER-78507 [CQF] Satisfy RemoveOrphansRequirement for SargableNode with Complete/Seek target requirement
- Closed