This topic explains how to create a Huawei Cloud data source for PostgreSQL.
Prerequisites
You have created a Huawei Cloud PostgreSQL database.
You have obtained the username and password for the Huawei Cloud PostgreSQL database.
Limits
Support is available for PostgreSQL version 8.2 and higher.
Procedure
Add Quick BI's IP address to the whitelist.
Before connecting to Huawei Cloud PostgreSQL, add Quick BI's IP address to the PostgreSQL whitelist.
Verify the data source connection and create the data source.
Log on to the Quick BI console.
Follow the instructions in the figure below to add the data source:
Navigate to the data source creation interface using the data source creation entry.
On the HUAWEI CLOUD Database tab, select PostgreSQL data source.
In the Configure Connection dialog box, configure the connection settings as needed for your scenario.
Name
Description
Display Name
The display name in the datasource config list.
Please enter a standard name. Do not use special characters or include spaces at the beginning or end.
Database Address and Port
The external network address where the PostgreSQL database is deployed. Log on to the Huawei Cloud management console, bind the Elastic IP Address (EIP) on the instance basic information page, and view it on the EIP page.
Database
The name of the database to be connected.
Schema
The schema name of the PostgreSQL database.
Username and Password
The username and password for logging on to the PostgreSQL database.
SSL
If the target data source is configured with SSL, you can select the security protocol SSL to protect data security.
Initialize SQL
After enabling, you can configure the SQL statement that is executed to initialize after the data source connection.
Only SET statements are allowed for the SQL statement executed to initialize after each data source connection. Separate statements with periods.
Enable upload file entry
After enabling, uploading files is supported.
Click Connection Test to verify the data source connectivity.
Once the test is successful, click OK to finalize the data source addition.
What to Do next
Once the data source is created, you can proceed to create datasets and analyze data.
To add PostgreSQL database tables or custom SQL statements to Quick BI, refer to create and manage datasets.
For guidance on adding visualization charts and analyzing data, refer to how to create a dashboard and the overview of visualization charts.
To conduct in-depth data analysis and drilling, consult drilling settings and display.