The document size increased from 4MB to 16MB, in December 2010. Will it be increased further? If so when?
One work around the size is normalization of the database, by creating more collections, and performing application level joins ( not provided thru MongoDB).
Is there a configuration option available (in MongoDB) which increases limit or provides for a work around?
Suggestions for workarounds around the limit are welcome.
There is a JIRA for this: https://jira.mongodb.org/browse/SERVER-5923 but it is listed under features that 10gen are not sure of which means I wouldn't hold your breath.
The docuent size is what it is for a good reason really, namely memory allocation.
If you need more than 16meg you need to seriously consider whether what you are doing is right. MongoDB can do JOINs client side and sometimes you just have to accept that some data is better separate and JOINed in the application. The rule of thumb of always embedding is untrue and incorrect.
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