-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
Fully Compatible
-
ALL
-
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
0
If an index is read backwards, either because the index was defined with a direction of -1 or the sort predicate itself has a direction of -1, the cardinality estimate and the cost are zero.
This causes the plan that sorts using an index to be picked always, at the expense of any other plans, often with disastrous results.
- is depended on by
-
SERVER-109304 samplingCE: Estimate is zero if the last component of compound index is descending
-
- Closed
-
- related to
-
SERVER-109304 samplingCE: Estimate is zero if the last component of compound index is descending
-
- Closed
-