For AI agents: a documentation index is available at https://www.mongodb.com/zh-cn/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.

Time Series Quick Start

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

Time required: 30 minutes

Deployment Type
Interface

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.