Database

TimescaleDB - Time-series data on PostgreSQL

databaseself-hostedpostgrespostgresqlreal-time

Metrics and events pile up quickly, and ordinary tables get awkward once queries always involve time. TimescaleDB is a PostgreSQL extension that groups time-series rows into hypertables, then adds compression, retention policies, and continuous aggregates. You keep standard SQL, joins with relational data, and the PostgreSQL tooling you already know. It is a good fit when telemetry needs to live beside application records instead of in a separate store. The extension model also means you can adopt it gradually, though planning chunk sizes and retention still matters for long-term performance.

Links

Alternatives

  • InfluxDB: A dedicated time-series database with its own query language and a commercial cluster edition.
  • QuestDB: A fast time-series database with SQL support and an open-source core.
  • ClickHouse: A columnar analytics engine that handles large event volumes with SQL.
  • Prometheus: A metrics-first system with a pull model and a separate long-term storage story.