CS FundamentalsHardGATE CS · PSU (ISRO/BARC)
Classify the schedule W3(B), R2(A), R3(B), W2(A), W1(B), R1(B).
- A. View serializable but not conflict serializable
- B. Neither conflict nor view serializable
- C. Conflict serializable (hence also view serializable)
- D. Conflict serializable but not view serializable
Correct answer: C. Conflict serializable (hence also view serializable)
The precedence graph is acyclic (order T2 → T3 → T1), and every conflict-serializable schedule is view serializable.
More DBMS and SQL questions
- In a B+ tree every internal node can have at most 34 children and every leaf can hold at most 30 keys. With exactly 4 levels (root at…
- Table Stu(sid, sname) rows: (1, 'Om'), (2, 'Pia'), (3, 'Raj'), (4, 'Sia'). Table Takes(sid, cid, marks) rows: (1, 'C1', 80), (1, 'C2'…
- Relations R (1000 blocks) and S (500 blocks) are joined with block nested-loop join using M = 22 buffer blocks (M − 2 for the outer…
- T1: W1(A), W1(B) and T2: R2(A), R2(B). Of all 6 interleavings that keep each transaction's own order, how many are conflict serializable?
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…
- A buffer manager uses STEAL (uncommitted pages may be written to disk) and NO-FORCE (committed pages need not be written at commit). What…