Skip to content

Commit a9b3555

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 b367856 commit a9b3555

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
@@ -554,9 +554,6 @@ If the transaction still fails after the maximum duration, the failure is handle
554554
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].
555555

556556

557-
[NOTE]
558-
Queries using `ON ERROR RETRY` can currently only use the xref:planning-and-tuning/runtimes/concepts.adoc#runtimes-slotted-runtime[slotted runtime].
559-
560557
.Basic retry with default duration
561558
=====
562559
@@ -788,11 +785,13 @@ By default, `CALL { ... } IN TRANSACTIONS` is single-threaded; one CPU core is u
788785
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.
789786
This allows `CALL` subqueries to utilize multiple CPU cores simultaneously, which can significantly reduce the time required to execute a large, outer transaction.
790787

791-
[NOTE]
792788
The concurrency value is optional.
793789
If not specified, a default value based on the amount of available CPU cores will be chosen.
794790
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.
795791

792+
[NOTE]
793+
Queries using `CONCURRENT TRANSACTIONS` can currently only use the xref:planning-and-tuning/runtimes/concepts.adoc#runtimes-slotted-runtime[slotted runtime].
794+
796795
.Load a CSV file in concurrent transactions
797796
====
798797

0 commit comments

Comments
 (0)