Docs Menu
Docs Home
/
Database Manual
/

Time Series Quick Start

This quick start describes how to configure, create, and query a time series collection with MongoDB Atlas or a self-managed deployment.

Time required: 30 minutes

This quick start creates a stocks time series collection with the following document structure.

{
_id: ObjectId(...),
ticker: <string>,
date: ISODate(...),
close: <double>,
volume: <double>
}

This quick start focused on creating a new time series collection. Because time series collections are optimized for time data, their performance depends heavily on how you configure them at creation. For more information, see Time Series Collection Considerations.

Back

Time Series

On this page