The Design of Prometheus TSDB
Published in
4 min readJan 10, 2023
Prometheus is a monitoring system that includes a homebrewed time series database (TSDB). This article explains how Prometheus TSDB is designed to support millions of data samples per second ingestion while only occupy a reasonable amount of disk space.
Data Model
Before we diving into the TSDB design, let’s look at the data model first.