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

Document New Aggregation Optimizations

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • 3.4.0
    • None
    • manual, Server
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              46 weeks, 6 days ago