921 views
1 1 vote
Is this schedule view serializable?

S: R1(A) R2(A) W1(A) W2(A) R1(B) R2(B) W1(B) W2(B)

4 Answers

0 0 votes
No

This schedule is not conflict serializable as the precedence graph shows a cycle and there is no blind write so it is also not a view serializable.

 
0 0 votes

This is a view serializable schedule bacause,

Step 1. It is not a conflict serialiable, because it produces a cyclic graph.

Therefore, it could be view serializable or not.

Step 2. It does not have blind write

Therefore, it could be view serializable.

Step 3. Check for the view serializable conditions:

  • Inital Read is same for both transactions
  • Final Transactions match
  • Read-Write Relationship does not match can be deduced from dependency graph.
Therefor this is a View Serializable.
0 0 votes

NO , This cannot be view serializable . Neither is it conflict serializable .

For the answers mentioned above , if we scheudle T1 -> T2 , then the view for R2(A) changes . Earlier while executing concurrently it was NOT reading from W1(A) while here in serial schedule it is , which shows , it is NOT view equivalent

Position:
Show:

Related questions

2 2 votes
2 answers 2 answers
1.5k
1.5k views
Prajwal Bhat asked Sep 5, 2016
1,483 views
I know that this is Conflict serializable and i know all schedules which are Conflict serializable are also view serializableBut still wanted to know what is the view ser...
0 0 votes
0 0 answers
508
508 views
SakarKoot asked Sep 4, 2022
508 views
What is Proof/Explanation for complexity to test if a schedule is conflict serializable is O(n^2) whereas for view serializable is O(2^n)-Exponential ?
0 0 votes
1 1 answer
948
948 views
atulcse asked Jan 10, 2022
948 views
Consider the following schedule:R2(A), R1(A), R3(B), W3(B), W2(A), R1(A)Is the above schedule view serializable?
0 0 votes
1 1 answer
897
897 views
atulcse asked Nov 2, 2021
897 views
Can a schedule be serializable if it is not view serializable? Are conflict equivalence and view equivalence the only two ways to decide if a schedule is serializable?