Dear Experts,
I'm trying to insert a number of nodes into NEO4J.
With Oracle, there are three basic methods:
SQL statements
SQL Loader
import/export
Lately there is also data pump
SQL statements: insert a single row into a single table.
SQL Loader: (sqlldr) That takes a comma delimited file, logs into Oracle and inserts the rows into a single table. Simple and fast.
Import: Executable Utility imp. Imports binary files created by the export utility, exp.
Can import multiple tables. Even entire database schemas, including tables, indexes, and all objects.
All of these come with Oracle standard issue RDBMS.
-----------
For Neo4j, so far I've found:
-------
batch-import:
jexp/batch-import
Seems to also require Apache Maven (mvn).
And java.
These prerequisites are not mentioned anywhere.
Any other prerequisites?
----
Max De Marzi's batch import
Also looks to have the prerequisites:
- apache maven
- psql (postgres)
- java
- and rake, which ruby make
Any other prerequisites?
----------
Batch Insertion
- from the Neo4j manual.
It has transactions:
{
"method" : "POST",
"to" : "/node",
"id" : 0,
"body" : {
"name" : "bob"
}
But are these transactions:
commands to be on a (cypher?) command line?
Entries in a unix like script?
In a CSV like file? To be run via another command?
???
--------
java rest binding:
Seems to also require: maven / ivy
Also has some kind of file for <dependency>
But what kind of file is that?
Which software reads the file with the <dependency> ??
--------
Rvan Bruggen Uses a spreadsheet:
The Spreadsheet is actually cypher commands.
When you think of it, the cypher commands could simply be run manually.
--------
Are there any other methods that I've missed?
What is everyone's experience?
What is the best way to get a number of data points into Neo4j?
Which other software packages are prerequisites?
How big are the learning curves?
Which documentation has the best instantly digestible examples?
----
I'm thinking that a simple to use utility will be very important.
Get the data out of an RDBMS system, and into NEO4J nodes.
Then, create connections between the nodes.
Informatica, Ab Initio and others made a very profitable industry out of ETL software.
Thanks a lot!