Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
-
Query
-
ALL
Description
described in an email to me as:
{ x : <anything> }including not, $or, regex, whatever, sometimes just scanning the whole index would be better than a table scan. i assume query optimizer is not testing that plan at the moment (with minkey and maxkey the full range)? should we do that?
Attachments
Issue Links
- duplicates
-
SERVER-20066 Query planner should consider index scans on empty query predicates
-
- Closed
-
- is related to
-
SERVER-2140 query optimizer should be able to pick index when there is no constraint on the first key
-
- Closed
-