I have some document witch size 15 mb.What happen if size will be more than 16 mb? I have more nested arrays in this document (not files)? Please tell me? Thanks!
To answer the actual question: Operations that try to insert a document larger than 16MB or try to update an existing document in a way that makes it grow past 16MB will fail, the server will return an error.
Documents of this size are usually a sign of (very) bad design, but there are exceptions of course...
There may be cases where your document size goes beyond 16 mb. GridFS should be able to solve your problem.
Look here for reference: http://docs.mongodb.org/manual/core/gridfs/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With