Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-7505

Document New Aggregation Optimizations

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0
    • Affects Version/s: None
    • Component/s: manual, Server
    • Labels:
      None

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            benjamin.murphy Benjamin Murphy
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 6 weeks, 6 days ago