timescaledb  by timescale

Time-series database as a PostgreSQL extension for real-time analytics

created 8 years ago
19,684 stars

Top 2.3% on sourcepulse

GitHubView on GitHub
Project Summary

TimescaleDB is a PostgreSQL extension designed for high-performance real-time analytics on time-series and event data. It targets developers and data engineers working with IoT, financial, or operational data who need to scale analytics beyond standard PostgreSQL capabilities while retaining SQL familiarity. The primary benefit is accelerated query performance and reduced storage costs through automatic data partitioning and columnar compression.

How It Works

TimescaleDB operates by transforming standard PostgreSQL tables into "hypertables." These hypertables automatically partition data into smaller, manageable chunks based on time ranges or other specified dimensions. This partitioning, combined with an optional hybrid row-columnar store that compresses data into columnar format, significantly speeds up analytical queries and reduces storage footprint. Features like continuous aggregates provide incrementally updated materialized views for real-time dashboarding and analytics.

Quick Start & Requirements

Highlighted Details

  • Hybrid row-columnar store can reduce data size by over 90%.
  • Continuous aggregates offer incrementally refreshed materialized views, outperforming standard PostgreSQL materialized views for real-time analytics.
  • Supports data retention policies and tiered storage (via Timescale Cloud).
  • Integrates with vector extensions for AI/ML workloads within PostgreSQL.

Maintenance & Community

Timescale is an active company with a dedicated community, indicated by their Slack channel and extensive documentation. Contributions are welcomed.

Licensing & Compatibility

TimescaleDB is licensed under the Timescale License. While it builds upon PostgreSQL, its specific features and extensions may have separate licensing terms. The Timescale License is generally permissive for use and modification but may have restrictions on offering it as a managed service.

Limitations & Caveats

The core TimescaleDB extension is open-source, but advanced features like tiered storage and managed services are offered via Timescale Cloud, which is a commercial product. Compatibility with specific PostgreSQL versions should be verified against the latest documentation.

Health Check
Last commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
107
Issues (30d)
37
Star History
764 stars in the last 90 days

Explore Similar Projects

Starred by Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), Samuel Colvin Samuel Colvin(Author of Pydantic, Pydantic Logfire, PydanticAI), and
4 more.

quokka by marsupialtail

0.1%
1k
Distributed query engine for time series data
created 3 years ago
updated 11 months ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Omar Sanseviero Omar Sanseviero(DevRel at Google DeepMind), and
3 more.

postgresml by postgresml

0.3%
6k
Postgres extension for in-database ML/AI
created 3 years ago
updated 1 month ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems) and Travis Fischer Travis Fischer(Founder of Agentic).

teable by teableio

0.3%
19k
No-code Postgres alternative for database applications
created 2 years ago
updated 15 hours ago
Feedback? Help us improve.