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 @@ -89,6 +89,8 @@ for matching documents. You can only create a ``partialFilterExpression`` on the
89
89
the ``expireAfterSeconds`` of the partial TTL index, the collection
90
90
deletes documents after the shorter time, so the TTL index has no effect.
91
91
92
+ .. include:: /includes/time-series-ttl-deletes.rst
93
+
92
94
This weather data time series collection deletes documents after 24 hours:
93
95
94
96
.. code-block:: javascript
@@ -217,6 +219,8 @@ output of :method:`db.currentOp()` or in the data collected by the
217
219
218
220
.. include:: /includes/multi-deletes.rst
219
221
222
+ .. include:: /includes/time-series-ttl-deletes.rst
223
+
220
224
Timing of the Delete Operation
221
225
``````````````````````````````
222
226
Original file line number Diff line number Diff line change @@ -72,6 +72,10 @@ limitation on these ``delete`` commands:
72
72
You cannot use these commands with multi-document transactions. There
73
73
are no other restrictions.
74
74
75
+ .. include:: /includes/time-series-ttl-deletes.rst
76
+
77
+ For details on TTL deletes, see :ref:`ttl-collections`.
78
+
75
79
.. _timeseries-limitations-updates:
76
80
77
81
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 @@ -48,6 +48,8 @@ collection.
48
48
You can modify the ``expireAfterSeconds`` of an existing TTL index
49
49
using the :dbcommand:`collMod` command.
50
50
51
+ .. include:: /includes/time-series-ttl-deletes.rst
52
+
51
53
.. _expire-data-atlas-ui:
52
54
53
55
Expire Documents in the {+atlas+} UI
You can’t perform that action at this time.
0 commit comments