-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
ALL
-
-
QO 2025-02-03, QO 2025-02-17
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
The cardinality estimate for $ne over some values in the presence of -Infinity in the index is zero.
Enterprise test> db.foo.find({a: {$ne: -1}}).count(); 100 Enterprise test> db.foo.find({a: {$ne: -1}}).explain().queryPlanner.winningPlan.cardinalityEstimate; 0
- related to
-
SERVER-102127 Complete TODO listed in SERVER-99024
-
- Closed
-
- split to
-
SERVER-100427 [HistCE] Create separate counter in TypeCounts for Infinity values
-
- Needs Scheduling
-