This topic was translated by AI and is currently in queue for revision by our editors. Alibaba Cloud does not guarantee the accuracy of AI-translated content. Request expedited revision

Add an AnalyticDB for PostgreSQL Data Source

Updated at: 2025-01-20 09:29

This topic guides you through the process of adding an AnalyticDB for PostgreSQL data source to Quick BI, enabling data analysis and visualization within the platform. Quick BI supports connections to Alibaba Cloud AnalyticDB for PostgreSQL through the Internet or Alibaba Cloud VPC.

Prerequisites

You have created an Alibaba Cloud AnalyticDB for PostgreSQL database cluster.

Background information

When utilizing AnalyticDB for PostgreSQL, you can connect this cloud data source to Quick BI for data analysis purposes.

To prevent data access issues due to whitelist restrictions, add Quick BI's IP address to the data source whitelist. For more information, see set a whitelist.

Limits

  • Only space administrators and developers are authorized to add data sources.

  • The Professional Edition and Pro Edition of group space are required to create an AnalyticDB for PostgreSQL data source.

  • Versions 6.0 and 4.3 are supported.

Procedure

  1. Log on to the or the international Quick BI console.

  2. Follow the steps in the figure below to add a data source.

    1. Navigate to the data source creation page via the data source creation entry.

    2. Choose the Alibaba AnalyticDB for PostgreSQL data source.

      image

  3. In the Configure Connection dialog box, configure the connection settings according to your business needs. image

    Name

    Description

    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 address of the AnalyticDB for PostgreSQL database deployment (if using a VPC data source, fill in the internal address and internal port of the database deployment). Log on to the cloud-native data warehouse AnalyticDB PostgreSQL edition console to obtain the database address. Example: xxxxxxxxxxxxxxxxxxxxx.gpdb.rds.aliyuncs.com.

    See client connection.

    Database

    The custom database name when deploying the AnalyticDB for PostgreSQL database cluster.

    Log on to the PolarDB console, and in Database Management, obtain the Database Name.

    Schema

    The schema of the database that you want to access.

    Username and Password

    The username and password for logging on to the AnalyticDB for PostgreSQL database cluster.

    VPC Data Source

    When using the Alibaba Cloud VPC network, select VPC Data Source and configure the following parameters:

    • Purchaser Accessid and Purchaser Accesskey: The AccessKey ID and AccessKey Secret with access privileges to the destination AnalyticDB for PostgreSQL database. Ensure that the account has Read privileges for the destination instance. Additionally, if Write privileges are granted, the system will automatically add the whitelist. Otherwise, you need to add it manually. For related operations, see create a custom policy.

      Log on to the RAM console to obtain the AccessKey ID and AccessKey Secret.

    • Instance ID and Area: The AnalyticDB for PostgreSQL database cluster ID and the area where it is located.

      Log on to the cloud-native data warehouse AnalyticDB PostgreSQL edition console to obtain the instance ID.

    Note

    If you select the VPC data source, the database address and port must be filled in with the internal address and internal port.

    SSL

    If the destination data source is configured with SSL, you can select the secure protocol SSL to protect data security.

    Initialize SQL

    After enabling, you can configure the SQL statement that is executed after the data source connection is initialized.

    Only SET statements are allowed for the SQL statement executed after each data source connection is initialized. Separate statements with periods.

    Enable file upload entry

    After enabling, file upload is supported.

  4. Click Connection Test to verify the data source connectivity.

    image

  5. Once the test is successful, click OK.

What to Do next

Once the data source is established, proceed to create datasets and perform data analysis.

  • On this page (0, M)
  • Prerequisites
  • Background information
  • Limits
  • Procedure
  • What to Do next
Feedback