Some clarifications on different Isolation level in database transaction?
问题 Below is the statement written from Wikipedia's Isolation article about REPEATABLE READS In this isolation level, a lock-based concurrency control DBMS implementation keeps read and write locks (acquired on selected data) until the end of the transaction. However, range-locks are not managed, so the phantom reads phenomenon can occur (see below). My question here is when does the the transaction begin and end respectively. If we take the example of Non-repeatable reads with REPEATABLE READS