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.
- is related to
-
SERVER-34713 Progressively declining dropDatabase performance
- Closed
-
SERVER-34372 Drop collection command with majority write concern should wait until two-phase drop finishes
- Closed