How to do an initial batch import of CSV / MySQL data into neo4j database

后端 未结 2 1321
谎友^
谎友^ 2021-02-10 12:27

I am considering replacing a MySQL database with a neo4j database. I am a complete beginner with neo4j and would like to know how to go about doing a batch insert of my current

2条回答
  •  情书的邮戳
    2021-02-10 12:51

    As you say that you are happy working with python and shell scripts, you may also want to have a look at the command line tools which come with py2neo, in particular geoff. This uses a flat file format I put together for holding graph data so in your instance, you would need to build a flat file from your source data and insert this into your graph database.

    The file format and server plugin are documented here and the py2neo module for the client application is here.

    If anything is missing from the docs or you want more information about this then feel free to drop me an email

    Nigel

提交回复
热议问题