-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
ALL
-
200
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
The heuristic by which we assign a bonus to productive index scans when multiplanned together with distinct scans is too permissive. On a large collection, we see an idnex scan prioritized when we shouldn't. We should update the formula to strongly favor distinct scans except if the benefit of an index scan is overwhelming.
- related to
-
SERVER-104732 Add query knob for groupByDistinct productivityRatio
-
- Backlog
-