-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
Currently there are three means of forcing the desired direction scattered throughout the codebase:
- $natural cursor hints - which uses the request object itself to determine the scan direction.
- $natural query settings hints - which populate PlannerParameters::collscanDirection.
- PlannerParameters::TraversalPreference - an internal hint used by timeseries to avoid blocking sorts.
- related to
-
SERVER-79233 Ensure query settings $natural hints are applied for the specified queries
- Closed