Showing results for 
Search instead for 
Did you mean: 

Create millions of relationships in less time

Node Link

Hi community,

We are trying to import data from orientdb to neo4j by connecting using drivers in python. The database contains 27 million nodes and 25 million relationships. Due to this the cypher queries are taking extremely long to execute. Is there a way to make the queries run faster. We are using MATCH and CREATE to create the relationship. If we set the batch size as 1000 also, it is taking nearly 40 sec to create those relationships. The libraries being used are pyorient for orientdb connection and querying and neo4j for Neo4j connections and queries in python.

Thank you