CS FundamentalsHardGATE CS · DBMS
Which is a correct reason why testing a schedule for VIEW serializability is rarely done in practice?
- A. Testing view serializability is NP-complete
- B. It cannot handle blind writes
- C. View serializability allows non-recoverable schedules
- D. View-serializable schedules are always conflict serializable
Correct answer: A. Testing view serializability is NP-complete
Conflict serializability is tested in polynomial time with a precedence graph, but deciding view serializability is NP-complete; it differs only for schedules with blind writes.
More DBMS and SQL questions
- Table Sale(id, rep, region, amt) rows: (1, 'Ira', 'N', 100), (2, 'Jai', 'S', 250), (3, 'Ira', 'S', NULL), (4, 'Kim', 'N', 300), (5, 'Jai'…
- Which statement about ARIES recovery is correct?
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…
- R(A, B, C, D, E, F) has functional dependencies F → ABCD, BD → A. What is the highest normal form R satisfies?
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…