Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
Click here >
Docs Menu
Docs Home
/ /

Time Series Quick Start

Configure, create, and query a time series collection with MongoDB Atlas or a self-managed deployment.

Time required: 30 minutes

The following example shows the stocks time series collection structure used in this quick start.

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

Time series collections are optimized for time data, so performance depends heavily on how you configure them at creation. For more information, see Time Series Collection Considerations.

Back

Time Series

On this page