CS FundamentalsHardGATE CS
Classify the schedule W1(X), W2(X), R3(X), C3, C1, C2 (Ci = commit of Ti).
- A. Recoverable but not cascadeless
- B. Cascadeless but not strict
- C. Strict
- D. Not recoverable
Correct answer: D. Not recoverable
R3(X) reads the value written by T2, the latest writer before it, not T1. T3 commits before T2 does, so if T2 aborted, T3's committed result would depend on discarded data: the schedule is not recoverable.
More DBMS and SQL questions
- Timestamp ordering with Thomas's write rule: TS(T1) = 5, TS(T2) = 10, TS(T3) = 15, and all read/write timestamps start at 0. The…
- Timestamps: T1 = 10 (oldest), T2 = 20, T3 = 30. T2 holds an exclusive lock on X. First T1 requests X, then T3 requests X. Which is correct?
- A hospital requires at least one doctor on call. Doctors Ana and Ben are both on call. Each starts a transaction under snapshot isolation…
- An account has balance 1000. Two sessions at READ COMMITTED each run SELECT bal (both read 1000 before either writes), then compute 1000 −…
- Two transactions each read row X under a shared lock and later want to update it, so each requests an upgrade to an exclusive lock. What…
- After ARIES analysis the dirty page table holds P1 (recLSN 40), P2 (recLSN 25) and P3 (recLSN 60); the last checkpoint began at LSN 30…