What will happen if document size more than 16mb in MongoDB?

mongodb

Solution

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...

Problem

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!

Original source

Related problems