Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
Description
Similar to the optimization for an early $match, an early $sort should be able to use an index instead of sorting.
Attachments
Issue Links
- is depended on by
-
SERVER-4566 In new aggregation framework, $sort, $limit in the pipeline seems loading all the matched data into memory. When we tried to improve the performance by leveraging multi thread aggregation, this makes it much slower than single thread
-
- Closed
-
-
SERVER-447 new aggregation framework
-
- Closed
-