[DOCS-7830] Comment on: "manual/core/aggregation-pipeline-optimization.txt" Created: 08/May/16 Updated: 03/Nov/17 Resolved: 08/May/16 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 01112017-cleanup |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Docs Collector User (Inactive) | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Location: https://docs.mongodb.com/manual/core/aggregation-pipeline-optimization/ |
||
| Participants: | |
| Days since reply: | 7 years, 40 weeks, 3 days ago |
| Description |
|
on $limit + $skip + $limit + $skip Sequence |
| Comments |
| Comment by Kay Kim (Inactive) [ 08/May/16 ] | ||||||||
|
The sequence has two different limits (both 100 and 10)
Aggregation sequence optimization can switch the order of {$skip: 5} and {$limit: 10} and increases {$limit: 10} by 5 (the amount of the skip amount) to become:
|