-
Notifications
You must be signed in to change notification settings - Fork 374
mongoimport option --dir to load a folder full of JSON files #858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.