Updated on 2024-06-21 GMT+08:00

Creating RDS for GaussDB Data Connections

Before establishing a data connection to RDS for GaussDB, ensure that the following conditions are met:

  • You have obtained the IP address, port number, username, and password of RDS for GaussDB.
  • A CDM cluster is available and used as the network agent to ensure that DLV can communicate with GaussDB.

Creating an RDS for GaussDB Data Connection

  1. Log in to the DLV console.
  2. On the Data page, click the workspace drop-down list at the top of the page, select the workspace to be accessed, and click New Data Connection.

    Figure 1 Creating a data connection

  3. In the New Data Connection dialog box, set Data Source Type to RDS for GaussDB and set the related parameters.

    Figure 2 Creating an RDS for GaussDB data connection

    Table 1 describes the RDS for GaussDB data connection parameters.

    Table 1 RDS for GaussDB data connection parameters

    Parameter

    Description

    Name

    Name of the data connection. Must contain 1 to 32 characters and contain only letters, digits, hyphens (-), and underscores (_).

    Instance ID

    ID of the database instance.

    Host

    After an instance ID is selected, an intranet IP address of a database is automatically matched. The domain name cannot be changed.

    Port

    After an instance ID is selected, a database port is automatically matched. The port cannot be changed.

    Username

    Username of the database. The database user must have permission to access data tables and metadata.

    Password

    Password of the database user.

    Agent

    NOTE:

    RDS for GaussDB is not a fully managed service and thus cannot be directly connected to fully managed DLV. A CDM cluster serves as an agent that enables communication between them.

  4. Click OK.

Using GaussDB Data Sources

You can configure and use GaussDB data sources by referring to the instructions in Using DWS Data Sources.