Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Importing data into an existing database in neo4j

Tags:

neo4j

I am using neo4j-import to import millions of nodes and relationship.

Is there any option to create relationships in to the existing database. I want to import the relationship using neo4j-import because I have millions of relationships.

Your cooperation is truly appreciated! Thanks

like image 636
Dawit Haile Avatar asked Feb 08 '23 20:02

Dawit Haile


1 Answers

neo4j-import can be solely used for initial imports.

For huge mass imports into an existing database in offline mode you can use the batch inserter API.

If the database needs to be online while importing you can use LOAD CSV with periodic commit functionality.

A third option is to write an unmanaged extension to Neo4j and do the import programmatically.

like image 158
Stefan Armbruster Avatar answered Feb 15 '23 01:02

Stefan Armbruster