mongodb - Why is my mongo migration with Wired Tiger 10x slower than MMAP? -


i have pretty simple data migration, we're splitting embedded documents out of 1 collection own collection. have 140,000 records create.

in testing on local mongo 3.4 mmapv1 migration took 20 minutes run.

in production, migration took on 4 hours run!

i did experiments, switched local storage wt , imported data , ran migration again, took 4 hours, difference being wt storage configuration (with defaults including snappy compression).

loading initial dataset fast mmap or wt, suspect compression not issue, curious if knows why such drastically different result between 2 data storage mechanisms


Comments

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -