Skip to content

Commit

Permalink
Update modules/ROOT/pages/subqueries/subqueries-in-transactions.adoc
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Sill <[email protected]>
  • Loading branch information
PetrJanouch and rsill-neo4j authored Feb 26, 2024
1 parent 6d82538 commit 140edea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/ROOT/pages/subqueries/subqueries-in-transactions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -610,9 +610,9 @@ offers a way to construct queries modifying multiple graphs.
[[composite-databases-batching]]
=== Batch size in composite databases
Since queries on composite databases can interact with more than one graph, batching is slightly more complicated.
The batch size declared with `IN TRANSACTIONS OF ... ROWS` represents an upper limit of the batch size. The real batch size
depends on the evaluation of `USE` clause. Calls targeting different graphs can't be interleaved so if a `USE` clause
evaluates to a different target than the current one, the batch is committed and a new one started.
The batch size declared with `IN TRANSACTIONS OF ... ROWS` represents an upper limit of the batch size.
The real batch size depends on the evaluation of the `USE` clause.
Calls targeting different graphs can't be interleaved so if a `USE` clause evaluates to a different target than the current one, the batch is committed and the next batch is created.
This is demonstrated in the following example. It assumes existence of two constituents 'remoteGraph1' and 'remoteGraph2'
of composite database called 'composite'.

Expand Down

0 comments on commit 140edea

Please sign in to comment.