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

Performance regression in dropDatabase

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.7.5
    • Component/s: Storage
    • ALL
    • Execution Team 2020-04-20

          for (var j = 0; j < 20; j++) {
              for (var i = 0; i < 1000; i++) {
                  db["c"+i].insert({})
              }
              t = new Date()
              db.dropDatabase()
              print(new Date() - t)
          }
      

      Time required for dropDatabase has substantially increased in 3.7.5. Like in 3.6.4 it progressively increases on each iteration of dropDatabase (which is the subject of SERVER-34713), although the coefficient may be smaller than 3.6.4. Variability appears to be quite a bit larger.

        1. chart.png
          chart.png
          13 kB
        2. Histogram.png
          Histogram.png
          18 kB

            Assignee:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Reporter:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: