[DOCS-7505] Document New Aggregation Optimizations Created: 25/Mar/16  Updated: 16/Mar/23  Resolved: 16/Mar/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 3.4.0

Type: Task Priority: Major - P3
Reporter: Benjamin Murphy Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 46 weeks, 6 days ago

 Description   

3.4 will introduce a number of new optimizations to the aggregation framework. Currently, the following optimizations have been implemented:

  • SERVER-22093, which allows aggregation to use a COUNT instead of a collection or index scan if no fields are needed from the resulting document.
  • SERVER-4507, which allows $group to become non-blocking if the stream of input documents is sorted by the fields used in the _id.
  • SERVER-20506, which allows $match after $unwind to move the subset of itself that is not dependent upon the unwound path before the $unwind, resulting in a second $match stage.


 Comments   
Comment by Sarah Olson [ 16/Mar/23 ]

Hi all!

Closing this out on the grounds that:

  • Details of this request are significantly outdated. 
  • Our documentation has evolved substantially since this request was made. 

Based on this, closing as WON'T DO. Please don't hesitate to give me a shout or to reopen if you disagree.

Generated at Thu Feb 08 07:54:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.