[SERVER-16228] Simple query on _id with $eq should use IDHACK Created: 18/Nov/14 Updated: 10/Dec/14 Resolved: 18/Nov/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 2.8.0-rc0 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Jonathan Abrahams | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | 28qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
A simple equality query against _id results in IDHACK. When the $eq operator is supplied, the equivalent query uses IXSCAN.
Other equivalent queries, which may not be considered simple, also use IXSCAN:
|