-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
The way this type of query is processed requires acquiring a collection (and a WT snapshot) 3 times:
- In the find command, where we see it's a view and defer to the aggregation framework after releasing the acquisition (and the WT snapshot)
- In the aggregation comand, where we see it's a view, so we resolve it and reenter after releasing the acquisition
- Again in the aggregation command.
In PERF-4259 we saw that removing one of the acquisitions improves performance of Queries.IdentityView.TwoInts about 5%, removing the 2 extra acquisitions would be ideal.