-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
QO 2025-01-20, QO 2025-02-03
This expression is nothing fancy and valid:
Enterprise test> db.foo.find({$and: [{ $or: [{ a: 0 }, { a: 1 }] }, { $or: [{ a: { $lt: 90 } }] }]}); MongoServerError[HistogramCEFailure]: encountered child of AndMatchExpression that was not sargable (ComparisonMatchExpression): { a: { $in: [ 0, 1 ] } }
- fixes
-
SERVER-99027 histogramCE: $in, $nin, $or not estimated without an index
-
- Closed
-
-
SERVER-98494 Estimate MatchExpression $exists (and other predicates) via histograms
-
- Closed
-
-
SERVER-99028 Estimate $type using histogramCE
-
- Closed
-
- is duplicated by
-
SERVER-99427 Estimation $exists predicates via histograms
-
- Closed
-