in Databases edited by
361 views
0 votes
0 votes
S1=2RB 1RA 1WB 2WA

S2=1RA 2RB 1WB 2WA

are these schedules are conflict equivalent or not?

as  by swapping the orders of first two non conflicting pair operations(1RA 2RB) we can get s1 to s2 schedule so by definitiion s1 and s2 should be conflict equivalent but the precedence of conflictions pairs is not same in s1 and s2.  pls explain???
in Databases edited by
361 views

4 Comments

it's nothing but you are swapping s1 and s2, right?
0
0
yes we can get s1 to s2  just swappiing first  non conflciting pairs but the precedence of conflictiong pairs is changing so they should not be same but they are i think??
0
0

 they are i think

i am also getting the same. 

0
0

1 Answer

2 votes
2 votes

two schedule is conflict equal if

  • Transaction of s1 and s2 must be same

  • Every conflict pair of s1 and s2 must be same.

  • Precedence graph of s1 and s2 must be same.

1 comment

but as i know the precedence of conflicting pairs should be same.as per made easy notes let me know if i m worong.
0
0

Related questions