Skip to content

Commit 6aa1b85

Browse files
(DOCSP-18792): Sharding support for time series collections
1 parent aa63be8 commit 6aa1b85

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

source/core/timeseries/timeseries-granularity.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,8 @@ a time. From ``"seconds"`` to ``"minutes"`` or from ``"minutes"`` to
143143
``"hours"``. Other changes are not allowed. If you need to change the
144144
``granularity`` from ``"seconds"`` to ``"hours"``, first increase the
145145
``granularity`` to ``"minutes"`` and then to ``"hours"``.
146+
147+
.. note::
148+
149+
You cannot modify the ``granularity`` of a sharded time series
150+
collection.

source/core/timeseries/timeseries-limitations.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,14 @@ Client-Side Field Level Encryption
126126
</core/security-client-side-encryption>` is not supported for
127127
:ref:`time series collections <manual-timeseries-collection>`.
128128

129+
.. _time-series-limitations-sharding:
130+
129131
Sharding
130132
~~~~~~~~
131133

132-
:ref:`Time series collections <manual-timeseries-collection>` cannot
133-
currently be sharded.
134+
Sharded time series collections are supported starting in MongoDB 5.1.
135+
136+
You cannot modify the ``granularity`` of a sharded time series collection.
134137

135138
Aggregation $out and $merge
136139
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MongoDB 5.1 provides support for sharded :ref:`time series collections
2+
<manual-timeseries-collection>`. For more information, see
3+
:ref:`Time Series Limitations <time-series-limitations-sharding>`.

source/release-notes/5.1.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@ Opcode Counters
149149

150150
Resharding Statistics
151151
- :serverstatus:`shardingStatistics.resharding.lastOpEndingChunkImbalance`
152+
153+
Sharded Time Series Collections
154+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155+
156+
.. include:: /includes/5.1/5.1-release-notes-sharded-time-series.rst
152157

153158

154159
Schema Validation Errors Contain Description Field

0 commit comments

Comments
 (0)