Docs Menu

Migrate Data into a Time Series Collection

On this page

If your collection stores data that you want to compare across time intervals, use a time series collection to improve performance and storage. For more information on the benefits of time series collections, see Time Series Collections.

You can use the following methods to migrate data from an existing collection into a time series collection:

If you use MongoDB 7.0 or greater and already have your data in a MongoDB database, migrate with an aggregation pipeline.

If your data is in a relational database, use Relational Migrator to migrate your data into a time series collection.

If your deployment is not in one of those cases, use Database Tools to migrate your data.

On this page