This topic explains how to create a Tencent Cloud PostgreSQL data source.
Prerequisites
You have created a Tencent Cloud PostgreSQL database.
You have obtained the username and password for the Tencent Cloud PostgreSQL database.
Limits
Supports PostgreSQL version 8.2 and above.
Procedure
Add Quick BI's IP address to the whitelist.
Before connecting to Tencent Cloud PostgreSQL, add the IP address of Quick BI to the PostgreSQL whitelist.
Verify the data source connection and create a new data source.
Log on to the or the international Quick BI console.
Navigate to the data source creation interface as shown below.
Access the data source creation entry.
Select PostgreSQL as the data source type.
Choose Tencent Cloud as the data source type.
In the Configure Connection dialog box, configure the connection according to your business scenario.
Name
Description
Display Name
The display name in the datasource config list.
The name cannot contain special characters or start or end with spaces.
Database Address and Port
The external network address where the PostgreSQL database is deployed. Log on to the Tencent Cloud PostgreSQL console, enable the external network address on the instance product page, and view it in the basic information.
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 to be initialized and executed after the data source connection.
Only SET statements are allowed for the SQL statement initialized and executed after each data source connection, and statements are separated by periods.
Enable file upload entry
After enabling, file upload 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
Following data source creation, proceed to create datasets and analyze data.
To add data tables or custom SQL statements to Quick BI, refer to Create and Manage Datasets.
For adding visualization charts and data analysis, see Create a Dashboard and Overview of Visualization Charts.
To explore and analyze data in depth, consult Drill Settings and Display.