mongoimport option --dir to load a folder full of JSON files #858
mongoimport option --dir to load a folder full of JSON files #858masyukun wants to merge 4 commits intomongodb:masterfrom
Conversation
|
@masyukun Thank you for your submission. What benefit does this confer versus running multiple import processes in parallel, e.g.: |
FGasper
left a comment
There was a problem hiding this comment.
See earlier question.
Thank you!
Hi FGasper -- it's the same set of benefits you get between doing 1000 individual inserts vs a single insertMany/bulkWrite:
|
|
@masyukun Do you have some reproducible benchmarks to demonstrate the performance benefit of your branch over parallel restorations? |
|
@FGasper Sure -- Unless you have a preferred test harness, I have a folder full of files and can run the two commands on a timer, then submit screenshots. |
|
@masyukun What we’d like to see is reproducible results comparing parallel invocation versus your submission. |

Missing feature -- figured I'd add it to the existing tool rather than writing yet another one-off.