DBDB.io The Encyclopedia of Database Systems · Est. 2017
Database of Databases

Database Entry

TimescaleDB


TimescaleDB is an open-source SQL database designed for scalable time-series data. It enables both high ingest rates and real-time analysis queries. It scales by automatically partitioning Hypertable (a single continuous table) into two-dimensional (time and space) proper-sized chunks. Inserts to recent time intervals can be parallelized by placing chunks across cluster or disks based on a specified partition key. Complex queries can be optimized by leveraging metadata of each chunk.[05][06]

Source Code
https://github.com/timescale/timescaledb[02]
Developer
Country of Origin
US
Start Year
2017 [17]
Coding Agent
Project Type
Commercial
Supported Languages
C++, Delphi, Java, Perl, PL/SQL, Python, Tcl
Derived From
PostgreSQL
Operating Systems
HP-UX, Linux, macOS, Solaris, Windows
License
Apache v2

Database Entry

TimescaleDB


TimescaleDB is an open-source SQL database designed for scalable time-series data. It enables both high ingest rates and real-time analysis queries. It scales by automatically partitioning Hypertable (a single continuous table) into two-dimensional (time and space) proper-sized chunks. Inserts to recent time intervals can be parallelized by placing chunks across cluster or disks based on a specified partition key. Complex queries can be optimized by leveraging metadata of each chunk.[05][06]

History[05][07]


TimescaleDB is in active development by a team of PhDs. It is implemented as a Postgres extension. A single-node version is open-sourced in April, 2017 and a clustered version is currently in private beta release.

Checkpoints[05][08]


It follows PostgreSQL.

Concurrency Control[09][05]


It supports transactions on a per-server basis. Like PostgreSQL, it uses MVCC and Serializable Snapshot Isolation (SSI). It also supports explicit locking with deadlock detection.

Data Model[10]


It follows PostgreSQL

Foreign Keys[10]


It follows PostgreSQL.

Indexes[11][12][13]


It follows PostgreSQL, which has primary, secondary, derived, partial indexes. PostgreSQL supports B-tree, hash, GiST, SP-GiST, GIN, and BRIN indexes, and default is B-tree.

Isolation Levels[14]


It follows PostgreSQL, which supports Read uncommitted, Read committed, Repeatable read, Serializable. Read Committed is the default. They are implemented with MVCC. Note that PostgreSQL's Read Uncommitted is in fact Read Committed.

Joins[10]


It follows PostgreSQL.

Logging[15]


It follows PostgreSQL.

Query Compilation[10]


Not Supported

Query Execution[10]


Query Interface[16]


Since TimescaleDB is based on Postgres, it supports Postgres' SQL and PL/pgSQL interfaces. They also provide support for PromQL through a Prometheus adapter.

Storage Architecture[10]


It follows PostgreSQL

Storage Model[10]


It follows PostgreSQL

Stored Procedures[10]


It follows PostgreSQL.

System Architecture[05]


Like Postgres, TimeScale is a shared-everything DBMS. Each table is partitioned across all space and time intervals.

Views[10]


It follows PostgreSQL.

Citations

18 sources
  1. Time-Series PostgreSQL at Petabyte Scale timescale.com
  2. GitHub - timescale/timescaledb: A time-series database for high-performance real-time analytics packaged as a Postgres extension · GitHub github.com
  3. Build with Tiger Data | Tiger Data Docs tigerdata.com
  4. TimescaleDB - Wikipedia wikipedia.org
  5. https://www.tigerdata.com/papers/timescaledb.pdf tigerdata.com Dead — Check Archive
  6. https://www.tigerdata.com/docs/introduction tigerdata.com Dead — Check Archive
  7. https://www.timescale.com/about.html timescale.com Dead — Check Archive
  8. PostgreSQL: Documentation: 18: 28.5. WAL Configuration postgresql.org
  9. PostgreSQL: Documentation: 9.6: Concurrency Control postgresql.org
  10. PostgreSQL: Documentation: 9.6: PostgreSQL 9.6.24 Documentation postgresql.org
  11. PostgreSQL: Documentation: 18: CREATE INDEX postgresql.org
  12. PostgreSQL: Documentation: 18: 11.8. Partial Indexes postgresql.org
  13. PostgreSQL: Documentation: 18: 11.7. Indexes on Expressions postgresql.org
  14. PostgreSQL: Documentation: 9.6: Transaction Isolation postgresql.org
  15. https://www.compose.com/articles/postgresql-backups-and-everything-you-need-to-know compose.com Dead — Check Archive
  16. https://promlabs.com/promql-compliance-test-results-timescaledb promlabs.com Dead — Check Archive
  17. When Boring is Awesome | Tiger Data timescale.com
  18. https://github.com/timescale/timescaledb/commit/d3e9d045cbca58a4162d693ff34994d37e470749 github.com
Revision #10 Last Updated: