Sefism is free for learners. We are here to help you grow, one step at a time.Join for free
Sefism.
Guide · OtherFree

TimescaleDB Documentation (Tiger Data)

The official docs for TimescaleDB, a PostgreSQL extension for time-series data such as sensor readings, metrics and prices. Keep plain SQL and your Postgres tools while getting time buckets, compression and continuous aggregates.

GitHub stars

23.7k (timescale/timescaledb)

GitHub · Oct 2026

Format

Guide

Topic

Other

Provider

Tiger Data (formerly Timescale)

Time needed

A weekend to get started

Level

Intermediate

Access

Free

What TimescaleDB is

TimescaleDB is a time-series database packaged as a PostgreSQL extension. Time-series data is a stream of measurements with a timestamp: temperature every minute, a stock price every second, API latency per request. You keep writing ordinary SQL against ordinary Postgres, and TimescaleDB adds features for this kind of data. The company behind it renamed itself from Timescale to Tiger Data in 2025; the extension is still called TimescaleDB.

What the docs cover

  • Hypertables: tables that look normal but are split into time-based chunks automatically, so recent data stays fast to insert and query.
  • Time buckets: time_bucket() groups readings into 5-minute, hourly or daily buckets for charts.
  • Continuous aggregates: materialised views that update incrementally, so a dashboard of hourly averages does not rescan raw data.
  • Compression and the columnstore: storing older data in a compressed, column-oriented form that is much smaller and fast to scan.
  • Retention policies: dropping raw data older than, say, 90 days while keeping the daily summaries.
  • Installation: self-hosting the extension on your own Postgres, or using Tiger Data's managed cloud.

Is it worth learning?

If your project collects readings over time (IoT sensors, app metrics, prices, energy meters), yes. It is the gentlest path into time-series work because everything else stays PostgreSQL: joins with your users table, backups, drivers and ORMs. Dedicated engines such as InfluxDB are the alternative when you want a separate system built only for metrics.

When you do not need it

A few thousand readings a day fit happily in a plain Postgres table with an index on (device_id, recorded_at). Add TimescaleDB when the table grows into the tens of millions of rows or the dashboard queries start to slow down.

Prerequisites and time

Comfortable SQL and a local PostgreSQL install. A weekend to load a year of sample readings, build hourly aggregates and set up compression.

Free or paid?

The extension is free to self-host; some advanced features have their own licence terms, so check the docs for the feature you need. The managed cloud is paid, with a trial.

Best for: developers building IoT, monitoring or finance features who already know PostgreSQL.

databasesqlopen sourcebackend

Ready to start?

Opens on Tiger Data (formerly Timescale) in a new tab.

Open resource
Link broken or out of date?

Report a problem

With "TimescaleDB Documentation (Tiger Data)". Only Tauseef reads this.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.