Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49814

Make allowDiskUse a template parameter in SBE SortStage

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • Query Execution

    Description

      We know upfront whether we may need to spill to disk during sort or not. So, we can build an optimized SortStage by eliminating all the code dealing with spilling in compile time by templating allowDiskUse parameter .

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: