Skip to content

Commit 7873374

Browse files
npentreljeff-allen-mongo
authored andcommitted
DOCSP-17077: Add time series index recommendation
1 parent 6764049 commit 7873374

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

source/core/timeseries/timeseries-secondary-index.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@ Add Secondary Indexes on metaField and timeField
1717
:keywords: Time series, IOT
1818

1919
To improve query performance for :term:`time series collections <time
20-
series collection>`, add :term:`secondary indexes <secondary index>`
21-
that cover common query patterns.
20+
series collection>`, add one or more :term:`secondary indexes <secondary
21+
index>` to support common time series query patterns. Specifically, we
22+
recommend that you create one or more :ref:`compound indexes
23+
<index-type-compound>` on the fields specified as the ``timeField`` and
24+
the ``metaField``. If the field value for the ``metaField`` field is a
25+
document, you can create secondary indexes on fields inside that
26+
document.
2227

2328
.. note::
2429

0 commit comments

Comments
 (0)