REPEATABLE READ
The default isolation level for InnoDB. It prevents any rows that are queried from being changed by other transactions, thus blocking non-repeatable reads but not phantom reads. It uses a moderately strict locking strategy so that all queries within a transaction see data from the same snapshot, that is, the data as it was at the time the transaction started.
When a transaction with this isolation level performs UPDATE ... WHERE
, DELETE ... WHERE
, SELECT ... FOR UPDATE
, and LOCK IN SHARE MODE
operations, other transactions might have to wait.
See also ACID.
See also consistent read.
See also isolation level.
See also locking.
See also phantom.
See also SERIALIZABLE.
See also transaction.