To improve query performance for time series collections, add one or more secondary indexes to support common time series query patterns. Starting in
MongoDB 6.3, MongoDB automatically creates a compound index on the metaField and timeField fields for
new collections.
Note
Not all index types are supported. For a list of unsupported index types, see Limitations for Secondary Indexes on Time Series Collections.