Consider a schedule of transactions T1 and T2: T1 RA     RC   WD   WB Commit   T2   RB WB   RD   WC     Commit   Here, RX stands for “Read(X)” and WX stands for “Write(X)”. Which one of the following schedules is conflict equivalent to the above schedule?

Consider a schedule of transactions T1 and T2: T1 RA     RC   WD   WB Commit   T2   RB WB   RD   WC     Commit   Here, RX stands for “Read(X)” and WX stands for “Write(X)”. Which one of the following schedules is conflict equivalent to the above schedule? Correct Answer <table border="1" cellpadding="0" cellspacing="0" style="width:400px;" width="456"> <tbody> <tr> <td style="height:28px;"> <p style="text-align: center;">T<sub>1</sub></p> </td> <td style="height:28px;"> <p style="text-align: center;"> </p> </td> <td style="height:28px;"> <p style="text-align: center;"> </p> </td> <td style="height:28px;"> <p style="text-align: center;"> </p> </td> <td style="height:28px;"> <p style="text-align: center;">RA</p> </td> <td style="height:28px;"> <p style="text-align: center;">RC</p> </td> <td style="height:28px;"> <p style="text-align: center;">WD</p> </td> <td style="height:28px;"> <p style="text-align: center;">WB</p> </td> <td style="height:28px;"> <p style="text-align: center;"> </p> </td> <td style="height:28px;"> <p style="text-align: center;">Commit</p> </td> <td style="height:28px;"> <p style="text-align: center;"> </p> </td> </tr> <tr> <td style="height:28px;"> <p style="text-align: center;">T<sub>2</sub></p> </td> <td style="height:28px;"> <p style="text-align: center;">RB</p> </td> <td style="height:28px;"> <p style="text-align: center;">WB</p> </td> <td style="height:28px;"> <p style="text-align: center;">RD</p> </td> <td style="height:28px;"> <p style="text-align: center;"> </p> </td> <td style="height:28px;"> <p style="text-align: center;"> </p> </td> <td style="height:28px;"> <p style="text-align: center;"> </p> </td> <td style="height:28px;"> <p style="text-align: center;"> </p> </td> <td style="height:28px;"> <p style="text-align: center;">WC</p> </td> <td style="height:28px;"> <p style="text-align: center;"> </p> </td> <td style="height:28px;"> <p style="text-align: center;">Commit</p> </td> </tr> </tbody> </table>

Concept:

Two schedules S1 and S2 are termed to be conflict equivalent if the conflict operations in both the schedules are executed in same order. The conflict operations are identified by RW, WR, and WW pairs.

Explanation:

The given Schedule in question is:

T1

T2

R(A)

 

 

R(C)

 

W(D)

 

W(B)

Commit

 

R(B)

W(B)

 

R(D)

 

W(C)

 

 

Commit

       

 

 

 

 

 

 

 

 

 

 

 

The conflict pairs are:

 R2(B)-> W1(B)

 W2(B)-> W1(B)

R1(C)-> W2(C)

R2(D)-> W1(D)

The schedule in which these pairs are executed in the same order would be conflict equivalent to this given schedule.

Only the schedule in option 1 has all these 4 pairs in the same order of execution and thus is conflict equivalent to a given schedule. 

Related Questions

Consider the following schedule S of transactions T1, T2, T3, T4: T1 T2 T3 T4   Reads(X)         Writes(X) Commit   Writes(X)  Commit         Writes(Y) Reads(Z) Commit           Reads(X) Reads(Y) Commit   Which one of the following statements is CORRECT?
The following are the conditions for selecting list of a suitable candidates to be called for interview after the written test for the recruitment is conducted/ organized for management-level persons of a multi-national company. For providing accounting services and sales the candidates must (a) be holding a graduation in basic science with 65% or above or B. E degree with 55% and above marks (b) have passed the written test with 70% or above marks (c) the age must be in the group 25 to 30 years as on 1/4/18 (d) have experience in an accounting firms for three years and diploma in accounting with 60% or above marks (e) be presently drawing CTC of 6 Lakhs per annum and above In case the applicant who satisfies all other terms above except 1) at (a) above, then be referred as Junior Accountant 2) at (d) & (e) above then be referred as Trainee-Accountant Satisfying all the above with experience of 5 years then be referred as senior-Accountant Satisfying all the above criteria (a-e) with CA/ ICWA / MBA (Finance) then be refereed as manager (Accounts) Read all the above information and answer the following question Shravani has passed H. SC with 72% of marks. She has done diploma in accountancy with 62% of marks. She was working with an organization in the field of accounting in the field of accounting from 4 years and was drawing CTC of 6.5 Lakhs presently. She is 28yrs as on July 2018. She may referred for the position of: