From c528c85db1d5c615fdadd25ecca2d6b52e2e8bb6 Mon Sep 17 00:00:00 2001 From: Bob Grabar Date: Tue, 12 Feb 2013 10:28:43 -0500 Subject: [PATCH] DOCS-795 release notes: capped collection limits --- source/release-notes/2.4.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source/release-notes/2.4.txt b/source/release-notes/2.4.txt index bb88f95cd77..80c90201c44 100644 --- a/source/release-notes/2.4.txt +++ b/source/release-notes/2.4.txt @@ -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 ` 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