Davo
Davo

Reputation: 168

Importing data into an existing database in 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

Upvotes: 4

Views: 1396

Answers (1)

Stefan Armbruster
Stefan Armbruster

Reputation: 39915

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.

Upvotes: 8

Related Questions