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.[04][05]

Source Code
https://github.com/timescale/timescaledb[02]
Developer
Country of Origin
US
Start Year
2017 [15]
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.[04][05]

History[04][06]


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[04][07]


It follows PostgreSQL.

Concurrency Control[08][04]


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[09]


It follows PostgreSQL

Foreign Keys[09]


It follows PostgreSQL.

Indexes[10][11][12]


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[13]


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[09]


It follows PostgreSQL.

Logging[14]


It follows PostgreSQL.

Query Compilation[09]


Not Supported

Query Execution[09]


Query Interface[09]


It follows PostgreSQL

Storage Architecture[09]


It follows PostgreSQL

Storage Model[09]


It follows PostgreSQL

Stored Procedures[09]


It follows PostgreSQL.

System Architecture[04]


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

Views[09]


It follows PostgreSQL.

Citations

15 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. https://www.tigerdata.com/docs/v0.9/main tigerdata.com Dead — Check Archive
  4. https://www.tigerdata.com/papers/timescaledb.pdf tigerdata.com Dead — Check Archive
  5. https://www.tigerdata.com/docs/introduction tigerdata.com Dead — Check Archive
  6. https://www.timescale.com/about.html timescale.com Dead — Check Archive
  7. PostgreSQL: Documentation: 18: 28.5. WAL Configuration postgresql.org
  8. PostgreSQL: Documentation: 9.6: Concurrency Control postgresql.org
  9. PostgreSQL: Documentation: 9.6: PostgreSQL 9.6.24 Documentation postgresql.org
  10. PostgreSQL: Documentation: 18: CREATE INDEX postgresql.org
  11. PostgreSQL: Documentation: 18: 11.8. Partial Indexes postgresql.org
  12. PostgreSQL: Documentation: 18: 11.7. Indexes on Expressions postgresql.org
  13. PostgreSQL: Documentation: 9.6: Transaction Isolation postgresql.org
  14. https://www.compose.com/articles/postgresql-backups-and-everything-you-need-to-know compose.com Dead — Check Archive
  15. When Boring is Awesome | Tiger Data timescale.com
Revision #5