I'm migrating from SQL Server to Neo4J (or ArangoDB, much more challenging), currently using the Windows stack, and C#. I saw the batch importer on github[https://github.com/jexp/batch-import/tree/20 ].
This util is an export tool, but I can't figure out where the rels.csv
and nodes.csv
are, on the export side (I see it on the import into neo4j). Is this an option in the util, or is this something I tell SSMS (SQL Server Management Studio) to create. More specifically, what is the difference rels and nodes from a SQL RDB standpoint?
To migrate the data - what options/steps do I need to follow to, set so that I can 1) export from SQL Server 2) Import into Neo4j that can easily work with the .netdriver/client?
Here is what I know on the import, but not on the export side.
batch_import.nodes_files=nodes1.csv[,nodes2.csv]
batch_import.rels_files=rels1.csv[,rels2.csv]
Is there an import tool, like SSMS import in Neo4j, that will help in this and translate/keep the relationships as nodes to nodes
Am I correct in thinking this way -
- Do schema tables map to nodes?
- Do table columns/attributes map to (table) nodes in neo4j
- Do FK's and PK's translate to relationships or labels?