From a database (DBMS)
Hydra External Tables can be used to import data into your Hydra data warehouse. Hydra supports a variety of External Tables.
Postgres External Tables
Postgres External Tables are implemented using postgres_fdw
. To set up a Postgres External Table from psql
, run the following SQL, replacing ...
with your server's information.
You can now create foreign tables from your remote Postgres database. You can import all of your remote tables at once as follows:
💡 You can name the server and schema as you see fit.
You can now query your remote database from Hydra, including:
Using
JOIN
between data in Hydra and in your remote databaseInserting, updating, or deleting data
MySQL External Tables
MySQL External Tables are implemented using mysql_fdw
. To set up a MySQL External Table from psql
, run the following SQL, replacing ...
with your server's information.
You can now create foreign tables from your remote MySQL database. Assuming your remote MySQL database's name is mysql
, you can import all of your remote tables at once as follows:
You can now query your remote database from Hydra, including:
Using
JOIN
between data in Hydra and in your remote databaseInserting, updating, or deleting data
Last updated