Creating a Time Series Collection

Learn how to correctly create a MongoDB Time Series collection for analytics while ensuring storage efficiency.

Creating a Time Series Collection

Learning Byte Overview

In this Learning Byte, a MongoDB expert will walk you through how to create a Time Series collection and how to set the required, optional, and recommended parameters available to the collection type. With a special focus on the metaField, granularity, and expiry options, you will discover why even the optional parameters are important to include for the best results out of your collection. This Byte also touches on the design of a Time Series collection and what powers the collection under the hood. Finally, you will discover where to learn more.

Chapters

  • Chapter 1: Introduction to the Collection
  • Chapter 2: Setting the metaField
  • Chapter 3: Optional Parameters: Granularity
  • Chapter 4: Optional Parameters: expireAfterSeconds
  • Chapter 5: Learn More