Skip to content

Commit 958829a

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCS-16500-TTL-deletes (#5429) (#5450)
* DOCS-16500-TTL-deletes * DOCS-16500-TTL-deletes * DOCS-16500-TTL-deletes * DOCS-16500-TTL-deletes * DOCS-16500-TTL-deletes * DOCS-16500-TTL-deletes * DOCS-16500-TTL-deletes --------- Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 29657b0 commit 958829a

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

source/core/index-ttl.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ for matching documents. You can only create a ``partialFilterExpression`` on the
8989
the ``expireAfterSeconds`` of the partial TTL index, the collection
9090
deletes documents after the shorter time, so the TTL index has no effect.
9191

92+
.. include:: /includes/time-series-ttl-deletes.rst
93+
9294
This weather data time series collection deletes documents after 24 hours:
9395

9496
.. code-block:: javascript
@@ -217,6 +219,8 @@ output of :method:`db.currentOp()` or in the data collected by the
217219

218220
.. include:: /includes/multi-deletes.rst
219221

222+
.. include:: /includes/time-series-ttl-deletes.rst
223+
220224
Timing of the Delete Operation
221225
``````````````````````````````
222226

source/core/timeseries/timeseries-limitations.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ limitation on these ``delete`` commands:
7272
You cannot use these commands with multi-document transactions. There
7373
are no other restrictions.
7474

75+
.. include:: /includes/time-series-ttl-deletes.rst
76+
77+
For details on TTL deletes, see :ref:`ttl-collections`.
78+
7579
.. _timeseries-limitations-updates:
7680

7781
Updates
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
If a time series collection contains documents with ``timeField``
2+
timestamps before ``1970-01-01T00:00:00.000Z`` or after
3+
``2038-01-19T03:14:07.000Z``, no documents are deleted from the
4+
collection by the :term:`TTL "time to live" <TTL>` feature.

source/tutorial/expire-data.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ collection.
4848
You can modify the ``expireAfterSeconds`` of an existing TTL index
4949
using the :dbcommand:`collMod` command.
5050

51+
.. include:: /includes/time-series-ttl-deletes.rst
52+
5153
.. _expire-data-atlas-ui:
5254

5355
Expire Documents in the {+atlas+} UI

0 commit comments

Comments
 (0)