Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13066

Investigate changes in SERVER-7694: external sort for find command

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 4.3.1
    • manual, Server
    • None

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

      Attachments

        Issue Links

          Activity

            People

              ravind.kumar Ravind Kumar (Inactive)
              backlog-server-pm Backlog - Core Eng Program Management Team
              Jess Mokrzecki Jess Mokrzecki
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 32 weeks, 5 days ago