@@ -342,12 +342,32 @@ write operation that affects multiple documents using the
342
342
To isolate a sequence of write operations from other read and write
343
343
operations, see :doc:`/tutorial/perform-two-phase-commits`.
344
344
345
+ Updates
346
+ -------
347
+
348
+ Each document in a MongoDB collection has allocated *record space*
349
+ which includes the entire document *and* a small amount of
350
+ padding. This padding makes it possible for update operations to
351
+ increase the size of a document slightly without causing the document
352
+ to outgrow the allocated record size.
353
+
354
+ Documents in MongoDB can grow up to the full maximum :limit:`BSON
355
+ document size <BSON Document Size>`; however, when documents outgrow
356
+ their record size MongoDB must allocate a new record and move the
357
+ document to the new record. Update operations that do not cause a
358
+ document to grow, (i.e. *in-place* updates,) are significantly more
359
+ efferent than those updates that cause document growth. Use :doc:`data
360
+ models </core/data-modeling>` that minimize the need for document
361
+ growth when possible.
362
+
363
+ For complete examples of update operations, see
364
+ :doc:`/applications/update`.
365
+
345
366
.. _write-operations-padding-factor:
346
367
347
368
Padding Factor
348
369
--------------
349
370
350
-
351
371
If an update operation does not cause the document to increase in
352
372
size, MongoDB can apply the update in-place. Some updates
353
373
change the size of the document, for example using the
0 commit comments