• edited by
3,402 views

3 Answers

Best answer
7 7 votes

Rules :

  1.  Initial Read must be same
  2. There is W-R dependency
  3.  Final write on some item should be  same

 There are 4 Write-Read conflict .

  • W1-R4 on B ,
  • W1-R2 on B
  • W2-R5 on C
  • W4-R5 on E


Transaction  T5 is performing final write on items B  , and it is fixed .

Initial Read is done by T1 on A.

so all 3 rules are satisfying here.

--------T1------- T2-------T4--------T5--------(T3 can be placed anywhere).....

--------T1------- T4-------T2--------T5--------(T3 can be placed anywhere)....


Therefore, total orderings = 5 +5=10 .

• selected by
3 3 votes

Correct me if I'm wrong!

1 1 vote

Now, the topo sort of the above schedule will give the orderings.

Answer:
Position:
Show:

Related questions

1 1 vote
0 0 answers
896
896 views
learner_geek asked Dec 1, 2017
896 views
In below schedule (S) it has cascading abort or not?
2 2 votes
1 1 answer
1.0k
1.0k views
shivangi5 asked Nov 24, 2017
1,013 views
The number of concurrent schedules can be formed with 3 transactions having 3, 2 and 1 operations respectively _________I am getting 54 but the given ans is 60.My doubt i...
1 1 vote
1 1 answer
745
745 views
1 1 vote
1 1 answer
599
599 views