Question DB-CC-0049
MediumSchedule S: w1(A), r2(A), w2(B), r1(B). What does the precedence graph contain?
- A.
No edges
- B.
One edge T2 → T1 only
- 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
Schedule S: w1(A), r2(A), w2(B), r1(B). What does the precedence graph contain?
No edges
One edge T2 → T1 only
Sign up free to see the answer and a step-by-step explanation.
A cycle, so S is not conflict-serialisable
One edge T1 → T2 only