-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
Fully Compatible
-
ALL
-
-
0
-
None
-
3
-
TBD
-
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.