Home / Companies / Neo4j / Blog / Post Details
Content Deep Dive

Inserting data into Neo4j with Neo4j-Shell and Cypher

Blog post from Neo4j

Post Details
Company
Date Published
Author
Neo4j
Word Count
334
Language
English
Hacker News Points
-
Summary

Neo4j is a popular open source graph database that attracts significant attention in the database research community and companies. A PhD student, Alireza Rezaei Mahdiraji, experimented with Neo4j to model large scale scientific and simulation data with inherent graph structures. He encountered an error when running a large Cypher CREATE command in the Neo4j Shell and found a solution by breaking down the statement into smaller chunks wrapped inside transactions and writing the result to a file. The student successfully imported the data from the file using the Neo4j Shell, demonstrating that this approach can be used to execute long Cypher CREATE commands. By doing so, Alireza was able to import large datasets without encountering errors.