When performing large write operations like batch updates, imports, and deletes, it is beneficial to execute subqueries in separate inner transactions. Cypher’s CALL { ... } IN TRANSACTIONS allows this, but each batch runs sequentially on a single thread, unnecessarily slowing down data imports. With Neo4j 5.21, the new `CALL { ... } IN CONCURRENT TRANSACTIONS` construct enables each batch to run on a separate thread, which can dramatically improve data loading performance.
Robert Steward
Get certified with GraphAcademy: https://dev.neo4j.com/learngraph
Neo4j AuraDB https://dev.neo4j.com/auradb
Knowledge Graph Builder https://dev.neo4j.com/KGBuilder
Neo4j GenAI https://dev.neo4j.com/graphrag