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

listDatabases is very slow on wiredtiger primary

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc3
    • Affects Version/s: 2.8.0-rc1
    • Component/s: Storage
    • Fully Compatible
    • ALL

      On a process with 67 databases, the following takes approximately 2 seconds on a wiredTiger primary:

      db.runCommand({listDatabases:1});
      

      If I switch the primary to an mmapv1 node, the command returns within a few milliseconds.

        1. testListDatabases.js
          0.5 kB
          Matt Kangas

            Assignee:
            matt.kangas Matt Kangas
            Reporter:
            cailin.nelson@mongodb.com Cailin Nelson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: