-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
Fully Compatible
If we have a sargable node with an equality predicate on _id, do not ask CE framework for an estimate, instead assume cardinality is 1.
Longer term, similar reasoning should apply for any fields which may be constrained to be unique.