A GDB connection allows you to write data to Graph Database (GDB). You can configure sync nodes for GDB by using the code editor.

GDB is a real-time and reliable online database service that makes it easy to store and navigate the relationships between highly connected datasets. GDB supports the Property Graph model and its query language Apache TinkerPop Gremlin, allowing you to easily build queries that efficiently navigate highly connected datasets.

Note Workspaces in standard mode support the Connection isolation feature. You can add connections for the development and production environments separately and isolate the connections to protect your data security.

Procedure

  1. Log on to the DataWorks console as a workspace administrator, find the target workspace, and then click Data Integration in the Actions column.
  2. In the left-side navigation pane, click Connection to go to the Workspace Manage > Data Source page.
  3. On the Data Source page, click Add Connection in the upper-right corner.
  4. In the Add Connection dialog box that appears, click Graph Database in the NoSQL section.
  5. In the Add GDB Connection dialog box that appears, set the parameters.
    Parameter Description
    Connection Name The name of the connection. The name can contain letters, digits, and underscores (_) and must start with a letter.
    Description The description of the connection. The description cannot exceed 80 characters in length.
    Applicable Environment The environment in which the connection is used. Valid values: Development and Production.
    Note This parameter is available only when the workspace is in standard mode.
    Figure instance domain name The endpoint of the GDB instance. Log on to the GDB console and click Instances in the left-side navigation pane. On the Instances page that appears, find the target instance and click View Instance Details in the Actions column. On the page that appears, view the value of Internal Endpoint in the Basic Information section.
    Graph instance Port The port for accessing GDB instance. Log on to the GDB console and click Instances in the left-side navigation pane. On the Instances page that appears, find the target instance and click View Instance Details in the Actions column. On the page that appears, view the value of Internal Port in the Basic Information section.
    Figure example account The username for accessing the GDB instance. Log on to the GDB console and click Instances in the left-side navigation pane. On the Instances page that appears, find the target instance and click View Instance Details in the Actions column. On the page that appears, click Account Management in the left-side navigation pane and view the value of Username.
    Figure instance password The password for accessing the GDB instance. Log on to the GDB console and click Instances in the left-side navigation pane. On the Instances page that appears, find the target instance and click View Instance Details in the Actions column. On the page that appears, click Account Management in the left-side navigation pane and view the value of Password.
  6. Click Test Connection.
    Note The connectivity test checks whether the default resource group can connect to the data store. In this case, the data store cannot be connected over the network. As a result, the connectivity test fails. When you commit a sync node that uses the connection, you must use an exclusive resource group.
  7. After the connectivity test is passed, click Complete.

What to do next

Now you have learned how to configure a GDB connection. You can proceed with the next tutorial. In the next tutorial, you will learn how to configure GDB Writer.