File tree Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,8 @@ for matching documents. You can only create a ``partialFilterExpression`` on the
78
78
the ``expireAfterSeconds`` of the partial TTL index, the collection
79
79
deletes documents after the shorter time, so the TTL index has no effect.
80
80
81
+ .. include:: /includes/time-series-ttl-deletes.rst
82
+
81
83
This weather data time series collection deletes documents after 24 hours:
82
84
83
85
.. code-block:: javascript
@@ -206,6 +208,8 @@ output of :method:`db.currentOp()` or in the data collected by the
206
208
207
209
.. include:: /includes/multi-deletes.rst
208
210
211
+ .. include:: /includes/time-series-ttl-deletes.rst
212
+
209
213
Timing of the Delete Operation
210
214
``````````````````````````````
211
215
Original file line number Diff line number Diff line change @@ -73,6 +73,10 @@ limitation on these ``delete`` commands:
73
73
You cannot use these commands with multi-document transactions. There
74
74
are no other restrictions.
75
75
76
+ .. include:: /includes/time-series-ttl-deletes.rst
77
+
78
+ For details on TTL deletes, see :ref:`ttl-collections`.
79
+
76
80
.. _timeseries-limitations-updates:
77
81
78
82
Updates
Original file line number Diff line number Diff line change
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.
Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ collection.
44
44
You can modify the ``expireAfterSeconds`` of an existing TTL index
45
45
using the :dbcommand:`collMod` command.
46
46
47
+ .. include:: /includes/time-series-ttl-deletes.rst
48
+
47
49
.. _expire-data-atlas-ui:
48
50
49
51
Expire Documents in the {+atlas+} UI
You can’t perform that action at this time.
0 commit comments