gcarq / rusty-blockparser

Bitcoin Blockchain Parser written in Rust language
GNU General Public License v3.0
370 stars 145 forks source link

Import to Neo4j #14

Closed ghost closed 4 years ago

ghost commented 7 years ago

Is there a way to import the csv files into a neo4j database?

gcarq commented 7 years ago

Never used neo4j before, but there is an official guide how to import data from csv: https://neo4j.com/developer/guide-import-csv/

As far as I can see this should work out of the box for csvdump

ghost commented 7 years ago

thanks a lot! So I dont have to do any changes on the data structure?

gcarq commented 7 years ago

I think not, but please let me know if you run into an issue.

ghost commented 7 years ago

I tried to import the data. Loading the 4 CSV files into Neo4j took 1,3 TB data and when I tried to build the relationships between the data it crashes. So unfortunatly it doesnt seem to be working.

Goro2030 commented 4 years ago

Is there a specific reason why you would like to use Neo4j? Normally, people import the blockchain into MySQL to run queries, or do whatever you need to do (i.e. a blockexplorer )

I'd close this issue, it's too old, and is just a question, not an issue.