diff --git a/docs/docs/databases/installing-database-drivers.mdx b/docs/docs/databases/installing-database-drivers.mdx index cb404fb480a..d7e9ce9c9cf 100644 --- a/docs/docs/databases/installing-database-drivers.mdx +++ b/docs/docs/databases/installing-database-drivers.mdx @@ -55,9 +55,9 @@ A list of some of the recommended packages. | SQLite | No additional library needed | `sqlite://` | | [SQL Server](/docs/databases/sql-server) | `pip install pymssql` | `mssql://` | | [Teradata](/docs/databases/teradata) | `pip install teradatasqlalchemy ` | `teradata://{user}:{password}@{host}` | +| [TimescaleDB](/docs/databases/timescaledb) | `pip install psycopg2` | `postgresql://:@:/` | | [Vertica](/docs/databases/vertica) | `pip install sqlalchemy-vertica-python` | `vertica+vertica_python://:@/` | -| [YugabyteDB](/docs/databases/yugabytedb) | `pip install psycopg2` | `postgresql://:@/` | - +| [YugabyteDB](/docs/databases/yugabytedb) | `pip install psycopg2` | `postgresql://:@/` | --- Note that many other databases are supported, the main criteria being the existence of a functional diff --git a/docs/docs/databases/timescaledb.mdx b/docs/docs/databases/timescaledb.mdx new file mode 100644 index 00000000000..2ab93e68b43 --- /dev/null +++ b/docs/docs/databases/timescaledb.mdx @@ -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/) diff --git a/docs/src/resources/data.js b/docs/src/resources/data.js index 4e8f1bb1ed5..49bc554a4df 100644 --- a/docs/src/resources/data.js +++ b/docs/src/resources/data.js @@ -143,6 +143,11 @@ export const Databases = [ href: "www.teradata.com", imgName: 'teradata.png' }, + { + title: 'TimescaleDB', + href: "www.timescale.com", + imgName: 'timescale.png' + }, { title: 'YugabyteDB', href: "www.yugabyte.com",