I want to enter a document in mongodb with size larger than 16MB.
I have tried gridfs but it stores the data in binary. Is there any method by which we can store the data larger than 16MB in mongodb in object as I need to update the documents automatically. Thank you!
And thankfully because I feel there are real issue with your schema design if you end up with 16Mb structured documents to store. Media files, I understand, but structured data, I would like to ear about the use cases.
Every time you will update your 16Mb documents, you will eventually write 16Mb on disk.
Here another link Reduce the Size of Large Documents — MongoDB Ops Manager upcoming