Reputation: 4954
I've been trying to import a relatively large dataset into neo4j...approximately 50 million nodes with relationships.
I first experimented with Cypher via py2neo -> which does work, but becomes very slow if you need to use CREATE UNIQUE or MERGE.
I'm now looking at other batch import methods, and I'm wondering if there are recommendations for which of these approaches is the best for general workflow and speed:
I would greatly appreciate any comments on functionality, workflow, and speed differences between these options.
Upvotes: 3
Views: 1011
Reputation: 987
If you can use the latest version of Neo4j the recommended way is to use the new LOAD CSV statement in Cypher: http://docs.neo4j.org/chunked/stable/cypherdoc-importing-csv-files-with-cypher.html
Upvotes: 1