Integration
TimescaleDB
Time-series database built on PostgreSQL
- Category
- Databases
- Runs in
- The Phloem cloud — nothing to install
Lets you and Hamming query a TimescaleDB database with SQL, with its hypertables and continuous aggregates listed in Trace.
What Phloem reads
- Schemas, tables, views, columns and foreign keys, listed in Trace for Hamming and SQL autocomplete
- Hypertables, marked with their time column and compression setting
- Continuous aggregates, read as materialized views
- TimescaleDB's internal schemas and chunk tables are left out
What you need
- The database's host and port (default 5432), reachable from Phloem's cloud
- The database name (
tsdbon TimescaleDB Cloud) - A username and password (
tsdbadminon TimescaleDB Cloud). A role withSELECTonly is best.
Connect
- In the console, open Connectors, choose Add connector, then TimescaleDB.
- Enter a Display Name, then Host, Port, Database, Username and Password.
- Choose an SSL Mode. The default is Require SSL (recommended); TimescaleDB Cloud requires SSL.
- Choose Test Connection, then Create Connection.
What Hamming can do
- Run SQL that you or Hamming write
Notes
- Phloem runs any statement, not only
SELECT. The role's privileges decide what a query can change. - A plain PostgreSQL database without TimescaleDB also connects, without the TimescaleDB details.
#Connection fields
What the Add connector form asks for.
| Field | Type | Required |
|---|---|---|
| Host TimescaleDB hostname xxx.tsdb.cloud.timescale.com | Text | Yes |
| Port Default port for TimescaleDB 5432 | Number | — |
| Database Database name (default 'tsdb' for TimescaleDB Cloud) tsdb | Text | Yes |
| Username Username (default 'tsdbadmin' for TimescaleDB Cloud) tsdbadmin | Text | Yes |
| Password Database password | Secret | Yes |
| SSL Mode SSL connection mode. TimescaleDB Cloud requires SSL. | One of Require SSL (recommended) · Verify CA certificate · Verify full certificate · Prefer SSL · Disable SSL (not recommended) | Yes |
Updated