Question DB-CC-0068
HardIn timestamp ordering, TS(T) = 20. R-TS(X) = 25 and W-TS(X) = 15. T issues write(X). What happens?
- A.
The write succeeds
- B.
The write is ignored
- 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
Concurrency Control question
In timestamp ordering, TS(T) = 20. R-TS(X) = 25 and W-TS(X) = 15. T issues write(X). What happens?
The write succeeds
The write is ignored
Sign up free to see the answer and a step-by-step explanation.
T is rolled back, because a younger transaction has already read X
T waits