I want to store a Bill of materials(BOM) in the neo4j database from BOM currently stored using Golang. I have a CSV file with N rows. I wrote a code that will convert those N rows to N queries which will make N nodes in Neo4j. The N is very large so it takes too long(30mins for 20,000 rows) as it fires a query by query using a loop in Golang. Is there some way through which we can send all the queries to the Neo4j server in a single call. I found this driver GitHub - johnnadratowski/golang-neo4j-bolt-driver: Golang Bolt driver for Neo4j but again this is also slow. Or is there is some other way to insert BOM from CSV file using golang and Neo4j?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Running Multi-statement Cypher Query Using Neo4j Python Drivers(Neo4j-driver, Py2neo) | 1 | 2382 | May 13, 2019 | |
How to speed up uploading data from csv in graph db | 5 | 4494 | August 29, 2019 | |
How to insert nodes and rels in bulk using python API? | 1 | 245 | February 11, 2022 | |
How to handle large data insertion in Neo4j | 1 | 2256 | July 26, 2021 | |
Is it possible to send a CSV directly to the Neo4j python driver? | 1 | 239 | February 6, 2021 |