Connectors
...
Databases
PostgreSQL
Basic PostgreSQL Setup
7min
let's connect your postgresql database go ahead and gather the basic details database host or ip address database port # (default is 5432) if logical replication is configured postgresql specifications required all recent and lts versions (5 5 or above) are supported determine which way to connect tls or ssh tunneling firewalls on your database server should allow incoming connections through the public internet on your postgresql port (typically 5432 unless your network team has changed it) be sure to whitelist ( our ip grantlist / whitelist docid\ ernsp9vcy4af88jk0uexc ) our datalakehouse io ip addresses for your database server network access be cognizant of using binlog row metadata settings for postgresql v8+, using a value of minimal to prevent any sync issues instructions (basic connection setup) remember datalakehouse io connects to your database instance with credentials supplied by you we store your credentials securely with our bank grade protocols enter your credentials and other information in the fields enter in the name/alias field, the name you'll use within datalakehouse io to differentiate this connection from others enter in the target schema prefix field, is the prefix of schema(s) that gets created on your destination target connection database for each of the schemas you load in this connection so if your database has a schema named 'public' the target connection when synced will have a schema in that target database named the value of this field + ' public' alphanumeric characters only it must start and end with a letter but can contain an underscore( ) enter in the server/host field, the name of the public server name or the ip address (most customers use the ip for this field) enter in the port field, where this database is accessible and the firewall restrictions are open enter in the database field, the name of the database to connect enter in the username/alias field, the username of user you created in the steps above to give access to datalakehouse io leave auth type field alone it is set to password because datalakehouse is using tls and requires username and password credentials to access the database enter in the password field, the password for the user you created in the steps above click save & test this attempt to connect to your database with the credentials provided a message of success or failure will be shown if success you'll be prompted with the schema objects objects of the database and will need to complete the final steps for configuration shown below if failure happens with the test connection, the connection is still saved but you will need to correct the failure based on the failure reason information provided in the message instructions (continued & final setup) this section of steps ensures you have coverage of other important steps required on your database side and in datalakehouse io once you have completed the above test connection successfully enable logical replication follow the instructions here for setting up logical replication in postgresql, test decoding replication setup docid\ ifqjhkm099aoilqhcfo76 how to instructions other information about this connection from time to time we will update the instruction set here to inform you about this connection or how specifically we must connect to optimally synchronize your data if you require any other type of authorization to connect to your account instance please reach out to our support team via our datalakehouse support portal https //datalakehouse zendesk com