CS FundamentalsHardGATE CS · DBMS
Assertion (A): A schedule can be conflict serializable and still not be recoverable. Reason (R): Serializability concerns the order of conflicting operations, while recoverability concerns the order of commits relative to reads-from.
- A. A is false, but R is true
- B. Both A and R are true, but R is not the correct explanation of A
- C. Both A and R are true, and R is the correct explanation of A
- D. A is true, but R is false
Correct answer: C. Both A and R are true, and R is the correct explanation of A
For example W1(A), R2(A), C2, C1 is serializable (T1 → T2) but not recoverable because T2 commits before the T1 it read from. The two properties are independent, as R says.
More DBMS and SQL questions
- How many of these statements about two-phase locking are correct? 1. Basic 2PL guarantees conflict serializability. 2. Basic 2PL prevents…
- Table Route(src, dst, cost) rows: ('A', 'B', 5), ('B', 'C', 4), ('A', 'C', 12), ('C', 'D', 3), ('B', 'D', 9), ('D', 'A', 2). What does…
- A file of 1000 blocks is sorted by external merge sort with M = 11 buffer blocks (sorted runs of M blocks are created in pass 0, then (M −…
- The system crashes after the last record of this log (immediate database modification; <Ti, X> denotes an update with old and new values…
- T1 has 3 operations, T2 has 2 and T3 has 2. How many concurrent schedules (interleavings that keep each transaction's own order) exist…
- A query must list departments whose average salary exceeds 50000, considering only employees hired after 2020. Which clause placement is…