Unable to add 1TB JSON file to MongoDB

You need to break it up into 10 to 20 GB files, don’t do a full terabyte, that’s insanity lol.

@lokesh_Chandra

Take the bottom script and setup an if/else go through all of the JSON files and upload them one at a time until they are all uploaded.

It’ll automate this whole process and make your life easier after breaking up the JSON file into smaller chunks.