Details
-
Task
-
Status: Closed
-
Major - P3
-
Resolution: Done
-
None
-
None
Description
Description
See public comment left immediately after the link to the git commit.
Description of Linked Ticket
Right now when query results must be sorted before being returned, a top-N sort is performed in memory with a memory footprint cap enforced. The goal for this ticket is move to external sorting if too much memory is required, see discussion in SERVER-4716.
Scope of changes
- Document allowDiskUse parameter for find database command
- Document allowDiskUse() cursor method for db.collection.find()
- Document increase non-index sort memory cap (32MB -> 100MB)
Impact to Other Docs
- Drivers may need to either link to allowDiskUse or update their docs to reference support for the new option
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
Attachments
Issue Links
- documents
-
SERVER-7694 external sort for find command
-
- Closed
-
-
SERVER-42077 Add 'allowDiskUse' option to find command
-
- Closed
-
-
SERVER-42179 Consolidate internal memory consumption setParameters for agg sort and find sort
-
- Closed
-
- is duplicated by
-
DOCS-12888 Investigate changes in SERVER-42077: Add 'allowDiskUse' option to find command
-
- Closed
-
-
DOCS-12922 Investigate changes in SERVER-42179: Consolidate internal memory consumption setParameters for agg sort and find sort
-
- Closed
-
- related to
-
DRIVERS-690 Support for allowDiskUse on find operations
-
- Closed
-