File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,22 @@ Indexes
98
98
99
99
There can be no more than 31 fields in a compound index.
100
100
101
+ Capped Collections
102
+ ~~~~~~~~~~~~~~~~~~
103
+
104
+ .. versionchanged:: 2.3
105
+
106
+ .. limit:: Max Number of Documents in a Capped Collection
107
+
108
+ If you set a maximum for the number of documents in a capped
109
+ collection, the maximum must be less than 2^32. You *cannot* set a
110
+ higher maximum. Alternatively, you can choose *not* to set a maximum,
111
+ in which case the number of documents can exceed 2^32.
112
+
113
+ You specify the maximum when creating a capped collection by setting
114
+ the optional ``max`` parameter. For details, see
115
+ :method:`db.createCollection()` or :dbcommand:`create`.
116
+
101
117
Replica Sets
102
118
~~~~~~~~~~~~
103
119
You can’t perform that action at this time.
0 commit comments