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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.3.1
    • Component/s: manual, Server
    • Labels:
      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

              Assignee:
              ravind.kumar Ravind Kumar (Inactive)
              Reporter:
              backlog-server-pm Backlog - Core Eng Program Management Team
              Participants:
              Last commenter:
              Kay Kim Kay Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 24 weeks, 5 days ago
                Date of 1st Reply: