Question DB-TXN-0044
MediumT1 updates a row, T2 reads the new value, then T1 rolls back. What did T2 experience?
- A.
A dirty read
- B.
A phantom read
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Transactions and ACID question
T1 updates a row, T2 reads the new value, then T1 rolls back. What did T2 experience?
A dirty read
A phantom read
Sign up free to see the answer and a step-by-step explanation.
A lost update
A non-repeatable read