title: Understanding MongoDB BSON Document size limit
body: <p>From MongoDB The Definitive Guide:</p>
  
  <blockquote>
    <p>Documents larger than 4MB (when converted to BSON) cannot be
    saved to the database. This is a somewhat arbitrary limit (and may be
    raised in the future); it is mostly to prevent bad schema design and ensure
    consistent performance.</p>
  </blockquote>
  
  <p>I don't understand this limit, does this mean that A Document containing a Blog post with a lot of comments which just so happens to be larger than 4MB cannot be stored as a single document?</p>
  
  <p>Also does this count the nested documents too?</p>
  
  <p>What if I wanted a document which audits the changes to a value. (It will eventually may grow, exceeding 4MB limit.)</p>
  
  <p>Hope someone explains this correctly.</p>
  
  <p>I have just started reading about MongoDB (first nosql database I'm learning about).</p>
  
  <p>Thank you.</p>