Skip to content

DOCS-795 release notes: capped collection limits #636

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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