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

Performance regression in dropDatabase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • 3.7.5
    • None
    • Storage
    • ALL
    • Execution Team 2020-04-20

    Description

          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.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: