[DOCS-13066] Investigate changes in SERVER-7694: external sort for find command Created: 02/Oct/19  Updated: 13/Nov/23  Resolved: 07/Feb/20

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.3.1, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Ravind Kumar (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-7694 external sort for find command Closed
documents SERVER-42077 Add 'allowDiskUse' option to find com... Closed
documents SERVER-42179 Consolidate internal memory consumpti... Closed
Duplicate
is duplicated by DOCS-12888 Investigate changes in SERVER-42077: ... Closed
is duplicated by DOCS-12922 Investigate changes in SERVER-42179: ... Closed
Problem/Incident
Related
related to DRIVERS-690 Support for allowDiskUse on find oper... Closed
Participants:
Days since reply: 4 years, 5 days ago
Epic Link: DOCS: 4.4 Server Release Work

 Description   

Description

Downstream Change Summary

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.)



 Comments   
Comment by Githook User [ 07/Feb/20 ]

Author:

{'username': 'rkumar-mongo', 'name': 'Ravind Kumar', 'email': 'ravind.kumar@mongodb.com'}

Message: DOCS-13066: [4.4] allowDiskUse support for find
Branch: master
https://github.com/mongodb/docs/commit/5e9eeb31bf04b328c3022ef4e922b9804fd47f4b

Comment by Ravind Kumar (Inactive) [ 28/Jan/20 ]

code-review

Comment by Bernie Hackett [ 28/Jan/20 ]

We already have DRIVERS-690 tracking the work to expose allowDiskUse in find().

Generated at Thu Feb 08 08:06:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.