InterviewSolution
Saved Bookmarks
| 1. |
Problems occurs if we don’t implement a proper locking strategy(a) Dirty reads(b) Phantom reads(c) Lost updates(d) Unrepeatable readsThe question was asked during an interview.This key question is from Transactions as SQL Statements topic in portion Transactions of Database Management |
|
Answer» RIGHT choice is (d) Unrepeatable reads The BEST explanation: In a concurrent execution of these TRANSACTIONS, it is intuitively clear that they conflict, but this is a conflict not captured by our simple model. This situation is referred to as the PHANTOM phenomenon, because a conflict may exist on “phantom” data. |
|