Provided in the present invention are a method and
system for importing data of a
graph database, an electronic device, and a medium. The
system comprises an import task
initiation module, an import task execution module and an import task monitoring module, wherein the import task
initiation module is used for: configuring
graph database information, configuring a graph
data format conversion script, reading a
data file row by row, and calling an API to submit an import task; the import task execution module is used for: receiving the import task by means of the API, allocating the task to a data import cluster, reading
graph database configuration information, reading a data dynamic
processing script, analyzing data to obtain a graph
database insertion statement, and executing the
insertion statement to write the data into a graph
database; and the import task monitoring module is used for: collecting import execution information, summarizing the data, and generating an import task execution condition report. The method of the present invention supports efficient import of large-scale graph data, is simple to implement, supports data files in different formats, and can allow a user to check import progress at any time.