-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.2.0
-
Component/s: Performance
-
None
-
Query 2019-10-21
I've noticed that views are examining all documents matching query regardless of the value provided to the cursor's skip or limit. The query is quite simple and the aggregated data from the view is also very simple. But since the view is examining all documents that match that specific query we are unable to use the view with that pipeline due to how long it takes to complete the query.
- duplicates
-
SERVER-36723 $limit should push down into the PlanStage layer, rather than coalescing with DocumentSourceCursor
- Closed
- is related to
-
SERVER-14663 Put skip stage below projection
- Backlog
-
SERVER-31072 reorder $limit before $lookup in pipeline
- Closed
-
SERVER-40909 push down $skip stage to query when possible
- Closed