Hi,
I am trying to import 1.12TB of a JSON file to the mongoDB installed on my local machine using the setup file- mongodb-windows-x86_64-6.0.5-signed.
Failed: an inserted document is too large 0 document(s) imported successfully. 0 document(s) failed to import.
Please note that I am not using --jsonArray as the json file data is not in array.
Can anyone guide/help me resolving this problem as this makes pointless to use MongoDB as it does solves the purpose of using NoSQL database for unstructured large data.
If you have a single document in a 1.12TB JSON then you are looking for trouble.
The JSON file is not an array. Could it be that it is a list of smaller documents that is not syntactically enclosed with square brackets?
Even if I would be very surprised that your 1.12TB is a single JSON document there are ways to brake it down into more manageable parts and use references to the smaller parts.