Say, I want to update the rows where age = 20
, I start 2 concurrent updates, in the first one I change 20
to 21
in the second one I change 20
to 22
.
With row level isolation,
- Will the entire set of rows where
age = 20
be isolated, meaning that at the end of my update that entire set of rows will have22
or21
forage
everywhere? - Or is it only the current row that we are writing to, that will be isolated, meaning that at the end of my update that set of rows will have
22
in some places and21
in the others?