In our application we execute many create nodes and relationships queries(we are working with Neo4j v4 cluster, with 3 core servers).
So we created a transaction for our session and we are using the run function for each create query like this:
After we added all the nodes and relationships we are using the commit function.
The transaction.run function takes a lot of time - 0.15 sec for each query (this aggregated to 10 minutes )
What is the best practice for this kind of scenario ?
is there a way to make it faster ?