Create a GaussDB(DWS) compute source

Updated at:

A GaussDB(DWS) compute source provides computational resources for a Dataphin workspace. When your Dataphin instance uses GaussDB(DWS) as its compute engine, you must add a GaussDB(DWS) compute source to a workspace to enable features such as standard modeling, GAUSSDB_SQL tasks, ad-hoc queries, and generic scripts. This topic describes how to create a GaussDB(DWS) compute source.

Prerequisites

  • Your Dataphin instance must use GaussDB(DWS) as its compute engine. For more information, see Set the compute engine of a Dataphin instance to GaussDB(DWS).

  • You have obtained the schema, username, and password for the GaussDB(DWS) compute engine database. The user account must have permissions to access metadata, create tables, and write to tables.

Procedure

  1. On the Dataphin homepage, choose Planning > Compute Source from the top menu bar.

  2. On the Compute Source page, click Add Compute Source and select GaussDB(DWS) Compute Source.

  3. In the Create Compute Source dialog box, configure the parameters.

    Parameter

    Description

    Compute type

    This is automatically set to GaussDB(DWS) based on your selection.

    Compute source name

    The name can contain Chinese characters, English letters, digits, underscores (_), and hyphens (-). The maximum length is 64 characters.

    Compute source description (Optional)

    Enter a brief description of the compute source. The description can be up to 128 characters long.

    Version

    Only version 9.1.0 is supported.

    JDBC URL

    The value defaults to the JDBC URL from Administration > Engine Settings. This value cannot be modified.

    Schema

    Enter the schema for the database connection.

    Username/password

    Enter the username and password for logging in to the GaussDB(DWS) compute engine database.

  4. Click Test Connection to verify the compute source connection.

  5. After the connection test succeeds, click Submit.

    After you create the GaussDB(DWS) compute source, you can bind it to a project. For more information, see Create a generic project.