Awesome q2a theme
0 votes
Consider the following schedule: SCHEDULE: r1(P), w2(P), r3(P), r1(Q), r4(R), w2(Q), r1(S), w3(S), r4(S), w4(Q), w5(Q), w5(R) Is this given schedule conflict serializable? If yes, prepare a precedence graph and write the order of execution for transactions.
in Databases by (5 points) | 29 views
T1 → T2 → T3 → T4 → T5

1 Answer

0 votes

The precedence graph for the schedule is as follows:

As there are no cycles in the graph. Hence this is a conflict-serializable(CSR) schedule.

There is a very decent site that can be used to create a precedence graph online. Along with that, it will provide you the information about the schedule whether it is recoverable, cascade-less, or conflict serializable or not.

by (79 points)
edited by
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
8,647 questions
2,855 answers
95,564 users