Connect GX Cloud to PostgreSQL
Prerequisites
-
You have a GX Cloud account with Workspace Editor permissions or greater.
-
You have a PostgreSQL database, schema, and table or view.
-
Optional. pgAdmin.
Connect to a PostgreSQL Data Source and add a Data Asset
-
In GX Cloud, select the relevant Workspace and then click Data Assets > New Data Asset > New Data Source > PostgreSQL.
-
Enter a meaningful name for the Data Source in the Data Source name field.
-
Enter a connection string in the Connection string field. The connection string format is:
PostgreSQL connection stringpostgresql+psycopg2://YourUserName:YourPassword@YourHostName:5432/YourDatabaseName?options=-csearch_path%3DYourSchemaName -
Click Connect.
-
Select one or more tables or views to import as Data Assets.
-
Click Add x Asset(s).
-
Decide which Anomaly Detection options you want to enable. By default, GX Cloud adds warning-severity Expectations to detect Schema and Volume anomalies. You can de-select recommendations you’d like to opt out of. You can choose to generate Expectations to detect Completeness anomalies.
-
Click Start monitoring or Finish.