Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions source/release-notes/2.4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -851,3 +851,19 @@ key. Consider the following properties when using a hashed shard key:
Avoid using hashed shard keys when the hashed field has non-integral floating
point values, see :ref:`hashed indexes <hashed-index-warning>` for
more information.

Maximum Number of Documents in a Capped Collection
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can specify a maximum number of documents when creating a capped
collection by setting the optional ``max`` parameter in the
:method:`db.createCollection()` method or :dbcommand:`create`
command.

If you specify a maximum number of documents when creating a capped
collection, this limit must be less than 2\ :sup:`32` documents. If
you do not specify a maximum number of documents when creating a
capped collection, there is no limit on the number of documents in a
capped collection.

.. DOCS-795