Chapter 1: document size limit in mongodb

Hi,

In chapter 1 - ACID video as in the link below, when we add the visits and drugs fields as an array wouldnt that increase the size of the document. Is there any document size limit?

Thanks
Jag

Hey @Jagjit_Singh,
Yes there is a limit. The maximum BSON document size is 16 megabytes. You can check more details on below link.

Reference link : https://docs.mongodb.com/manual/reference/limits/

2 Likes