Skip to content

Commit ef7ac1a

Browse files
authored
DOCS-16225 TTL Indexes on Capped Collections (#4792)
* DOCS-16225 TTL Indexes on Capped Collections * RN order * remove overview header
1 parent 3b6eb3d commit ef7ac1a

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

source/core/capped-collections.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ Capped Collections
1212
:depth: 2
1313
:class: singlecol
1414

15-
Overview
16-
--------
17-
1815
:term:`Capped collections <capped collection>` are fixed-size
1916
collections that support high-throughput operations that insert
2017
and retrieve documents based on insertion order. Capped
@@ -33,9 +30,6 @@ for more information on creating capped collections.
3330
to expire and remove data from normal collections based on the value
3431
of a date-typed field and a TTL value for the index.
3532

36-
TTL indexes are not compatible with capped collections.
37-
38-
3933
Behavior
4034
--------
4135

source/core/index-ttl.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,6 @@ Restrictions
239239

240240
- The ``_id`` field does not support TTL indexes.
241241

242-
- You cannot create a TTL index on a :ref:`capped collection
243-
<manual-capped-collection>`.
244-
245242
- You can only create TTL indexes for a :ref:`time series collection
246243
<manual-timeseries-landing>` on the collection ``timeField``.
247244

source/release-notes/7.1.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ Specify a query's index using the hint field
9191
Starting in MongoDB 7.1, the hint field is available in the :dbcommand:`distinct` command,
9292
allowing you to specify the query's index.
9393

94+
TTL Indexes
95+
~~~~~~~~~~~
96+
97+
Starting in MongoDB 7.1, you can create :ref:`TTL indexes <index-feature-ttl>`
98+
on :ref:`capped collections <manual-capped-collection>`.
99+
94100
serverStatus Output Change
95101
--------------------------
96102

0 commit comments

Comments
 (0)