Data import

Updated at:

Graph Database (GDB) supports importing data from multiple data sources. This topic describes two import methods: using a specific data format and using an import service.

Import data from Alibaba Cloud Object Storage Service (OSS) to a GDB instance

The GDB server-side has an integrated data import module. This module retrieves your .csv data files from OSS, parses them into vertex and edge data, and then imports the data into a GDB instance.Data import from OSS

Step

Description

Convert the vertex and edge data into separate .csv files and upload them to a bucket in Object Storage Service (OSS).

Create a RAM role that has read and list access permissions for the bucket.

Send an HTTP request to the GDB instance to start the GDB loader program.

The GDB loader program reads data from the bucket using the RAM role and loads the data into the GDB instance.

Use DataWorks data integration to sync data to GDB

DataWorks is a one-stop big data and smart cloud development platform from Alibaba Cloud. Its data integration service supports syncing data to GDB. You can also use the platform to compute, filter, and transform data before you sync it to GDB.

The GDB data source in DataWorks is powered by the GdbWriter plugin, which lets you write data to GDB. For more information about how to configure the synchronization, see Configure a GDB data source.