If we cancel mongoimport midway, will it import the data upto that point or will it cancel alltogether?

We have a mongoimport command that is running for more than 24 hours. Wanted to be double sure if we cancel the operation then will it have data upto that timeframe ?

@Shane_McAllister Also wondering why the script is taking so long !! Is this normal for that much amount of data?


How much data are you loading? Can you post the command here? Can you look at the collection and see if it is growing in Compass?

If you cancel it will not impact data which has been loaded already.

1 Like

We basically downloaded gdelt csv data from 2019 or so and ran the mongoimport script

Yes, it’s growing in Compass

Alright. Makes sense that the uploaded data will stay there. Thank you