Question
Easy

In context of database, let T1 and T2 are two concurrent transactions. Consider the following sequence of operations on data X: T1: READ(X) T1: WRITE(X) T2: READ(X) T2: WRITE(X) This is a _______ problem.

1
Dirty Read
2
Lost Update
3
Incorrect Summary
4
Unrepeatable Read
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Database Management System (DBMS) & SQL
Topic: Database Concepts
Correct Answer
Option B
Explanation

The correct option is (2): The given sequence T1: READ(X), T1: WRITE(X), T2: READ(X), T2: WRITE(X) perfectly illustrates the classic database concurrency anomaly known as the Lost Update problem. This situation arises because both concurrent transactions, T1 and T2, base their calculations on the original value of the data item X, which they read at the beginning. T1 writes its new value back to X, but before T1 can commit…Read More