TimescaleDB
Database / data tool · Free + paid
A PostgreSQL extension for time-series data with hypertables: it helps work with event history and analytics while separating Apache and Timescale-licensed features.
Also known as: timescale/timescaledb; timescaledb; timescale-db

What you can use for free
Self-hosted Apache core and TSL features only under applicable terms.
Paid features and costs
Cloud hosting is paid; TSL does not promise the right to provide database-as-a-service.
Access and limitations
Self-hosted Apache core and TSL features only under applicable terms. Cloud hosting is paid; TSL does not promise the right to provide database-as-a-service.
Use cases
- Add time series to a PostgreSQL application
- Upload events and test SQL aggregations over time intervals
Example workflow
A possible workflow; this is not a report of hands-on testing.
Add time series to a PostgreSQL application.
Before you start
- A schema, test dataset, and queries.
- A supported database or runtime.
Steps
- Prepare a measurements table and convert it into a hypertable.
- Upload events and test SQL aggregations over time intervals.
- Check schema changes, indexes, and data recovery.
Check your result
- Query results match the reference data.
- Check access permissions, backup recovery, and load before production use.
Choosing TimescaleDB
Add time series to a PostgreSQL application
Choose this when
- Add time series to a PostgreSQL application
- Upload events and test SQL aggregations over time intervals
Requirements
- Prepare compatible PostgreSQL/TimescaleDB versions, a time data model, and a refresh policy suited to acceptable delay.
Things to consider
- Costs and limits of free use: Cloud hosting is paid; TSL does not promise the right to provide database-as-a-service.
- Terms of use: Apache-2.0 outside tsl/ with file notices; tsl/ uses the Timescale License with separate service offering rules.
- The one-line quick start is labeled for development and testing only. Code outside tsl is mainly Apache 2.0; inside tsl it uses the Timescale License. Each portion's license matters regardless of the overall installation. Example speed is not guaranteed for your database.
Frequently asked questions
What can you use for free in TimescaleDB?
Self-hosted Apache core and TSL features only under applicable terms.
What additional costs might arise with TimescaleDB?
Cloud hosting is paid; TSL does not promise the right to provide database-as-a-service.
What terms of use matter for TimescaleDB?
Apache-2.0 outside tsl/ with file notices; tsl/ uses the Timescale License with separate service offering rules.
How do you get started with TimescaleDB?
Prepare a measurements table and convert it into a hypertable. Upload events and test SQL aggregations over time intervals. Check schema changes, indexes, and data recovery.
What do continuous aggregates add to TimescaleDB hypertables?
Hypertables divide time data into chunks; continuous aggregates store preaggregated results and update them incrementally under a refresh policy. Settings define the processed time window and schedule; real-time aggregation separately combines materialized and fresh data. The README also shows columnstore and time_bucket for time analytics.
License
Apache-2.0 outside tsl/ with file notices; tsl/ uses the Timescale License with separate service offering rules.
Apache 2.0 — permissive license with patent terms
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsCustom license — this product's terms apply
The license name does not imply standard MIT or GPL rights. Its own text determines permission to modify, work commercially, distribute, and use outputs. Follow the use case stated for the product above and the primary source for its terms.
Technologies and topics
- TimescaleDB
- database
- Development