cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Python neo4j driver write transaction

dan3
Node Link

Hi All,
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:
self._transaction.run(cql_query)
After we added all the nodes and relationships we are using the commit function.
self._transaction.commit()
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 ?

Thanks 🙂

0 REPLIES 0