Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-37304

Extend $sort+$group+$first pipeline optimization to $last

    XMLWordPrintable

    Details

      Description

      The optimization described in SERVER-9507 can be applied to $group expressions that exclusively use $last accumulators by running the DISTINCT_SCAN in the reverse direction.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: