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

Scalability of distinct is sub-optimal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: 2.6.0-rc1
    • Fix Version/s: None
    • Component/s: Concurrency, MMAPv1, Querying
    • Labels:
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      Get mongo-perf at https://github.com/mongodb/mongo , build, and run

      ./benchmark --test command --raw

      and wait for the output of Distinct

      {With,Without}

      Index.

      Show
      Get mongo-perf at https://github.com/mongodb/mongo , build, and run ./benchmark --test command --raw and wait for the output of Distinct {With,Without} Index.

      Description

      mongo-perf shows distinct doesn't scale very well, and the problem gets evident after 4 threads. This is tested on a recent 12-core Xeon. The problem affects every version of mongo I was able to test on (namely 2.2, 2.4, 2.6). Screenshot attached.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            davide.italiano Davide Italiano
            Participants:
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: