Investigate using getNextBatched in distinct.cpp (& sharded version)

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We recently added a batched execution mode in PlanExecutorImpl which has less overhead per call to getNext(). We should look into using this in the distinct command for improved performance.

      Note: this would be handled automatically by doing SERVER-25899SERVER-87237

              Assignee:
              Unassigned
              Reporter:
              Alya Berciu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: