Skip to content

Commit cb7cad6

Browse files
Correct note about supported runtime for transaction subqueries (#1300)
`CALL IN TRANSACTIONS` serial (without `CONCURRENT`) with `ON ERROR RETRY` is going to be supported from Neo4j version 2025.06. --------- Co-authored-by: Jens Pryce-Åklundh <[email protected]>
1 parent d667067 commit cb7cad6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

modules/ROOT/pages/subqueries/subqueries-in-transactions.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -551,9 +551,6 @@ If the transaction still fails after the maximum duration, the failure is handle
551551
It is particularly suitable for xref:subqueries/subqueries-in-transactions.adoc#concurrent-transactions[concurrent transactions], reducing the likelihood of a query failing due to xref:subqueries/subqueries-in-transactions.adoc#deadlocks[deadlocks].
552552

553553

554-
[NOTE]
555-
Queries using `ON ERROR RETRY` can currently only use the xref:planning-and-tuning/runtimes/concepts.adoc#runtimes-slotted-runtime[slotted runtime].
556-
557554
.Basic retry with default duration
558555
=====
559556
@@ -785,11 +782,13 @@ By default, `CALL { ... } IN TRANSACTIONS` is single-threaded; one CPU core is u
785782
However, `CALL` subqueries can also execute batches in parallel by appending `IN [n] CONCURRENT TRANSACTIONS`, where `n` is a concurrency value used to set the maximum number of transactions that can be executed in parallel.
786783
This allows `CALL` subqueries to utilize multiple CPU cores simultaneously, which can significantly reduce the time required to execute a large, outer transaction.
787784

788-
[NOTE]
789785
The concurrency value is optional.
790786
If not specified, a default value based on the amount of available CPU cores will be chosen.
791787
If a negative number is specified (which can only be done through a parameter), the concurrency will be the number of available CPU cores reduced by the absolute value of that number.
792788

789+
[NOTE]
790+
Queries using `CONCURRENT TRANSACTIONS` can currently only use the xref:planning-and-tuning/runtimes/concepts.adoc#runtimes-slotted-runtime[slotted runtime].
791+
793792
.Load a CSV file in concurrent transactions
794793
====
795794

0 commit comments

Comments
 (0)