-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d79b0bf
commit d44202f
Showing
3 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: TimescaleDB | ||
hide_title: true | ||
sidebar_position: 31 | ||
version: 1 | ||
--- | ||
|
||
## TimescaleDB | ||
[TimescaleDB](https://www.timescale.com) is the open-source relational database for time-series and analytics to build powerful data-intensive applications. | ||
TimescaleDB is a PostgreSQL extension, and you can use the standard PostgreSQL connector library, [psycopg2](https://www.psycopg.org/docs/), to connect to the database. | ||
|
||
If you're using docker-compose, psycopg2 comes out of the box with Superset. | ||
|
||
TimescaleDB sample connection parameters: | ||
|
||
- **User Name**: User | ||
- **Password**: Password | ||
- **Database Host**: | ||
- For Localhost: localhost or 127.0.0.1 | ||
- For On Prem: IP address or Host name | ||
- For [Timescale Cloud](https://console.cloud.timescale.com) service: Host name | ||
- For [Managed Service for TimescaleDB](https://portal.managed.timescale.com) service: Host name | ||
- **Database Name**: Database Name | ||
- **Port**: default 5432 or Port number of the service | ||
|
||
The connection string looks like: | ||
|
||
``` | ||
postgresql://{username}:{password}@{host}:{port}/{database name} | ||
``` | ||
|
||
You can require SSL by adding `?sslmode=require` at the end (e.g. in case you use [Timescale Cloud](https://www.timescale.com/cloud)): | ||
|
||
``` | ||
postgresql://{username}:{password}@{host}:{port}/{database name}?sslmode=require | ||
``` | ||
|
||
[Learn more about TimescaleDB!](https://docs.timescale.com/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters