-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Index Maintenance
The part of the external sort code that does external sorting should be re-entrant, and shouldn't need to consult global variables (such as dbpath). This would make it more testable, and easier to use to index multiple collections at once. It should also separate the external sort functionality from bson index building / comparison functionality, again for separate testability.
- is depended on by
-
SERVER-7694 external sort for find command
- Closed
-
SERVER-3867 aggregation: use external sort to handle larger sorts
- Closed
- is duplicated by
-
SERVER-6070 freebsd really slow in external sort
- Closed
-
SERVER-5087 reduce required memory for aggregation steps by freeing data that has been returned by $group and $sort
- Closed
-
SERVER-6139 qsort for FreeBSD
- Closed
-
SERVER-6850 External Sort should have a more general interface
- Closed
- is related to
-
SERVER-4534 Index creation opens too many files for large array
- Closed
-
SERVER-6271 $group does not track memory usage
- Closed
-
SERVER-6272 aggregation does not track memory usage on osx
- Closed
-
SERVER-6273 aggregation tracks memory usage for a single $sort stage, not the entire pipeline
- Closed