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

distinct should run in parallel in a sharded cluster

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.2.0
    • Querying
    • None
    • Query Execution

    Description

      It looks like the code for distinct in the mongos runs the command against the shards in series, rather than in parallel. It ought to be a win to run that one with a parallel cursor.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            richard.kreuter Richard Kreuter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: