Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Explain serializability of transaction. OR Explain both the forms of serializability with example. Also explain relation between two forms. OR Explain conflict serializability and view
- Explain serializability of transaction.
- OR
- Explain both the forms of serializability with example. Also explain relation between two forms.
- OR
- Explain conflict serializability and view serializability with example.
Step by Step Solution
★★★★★
3.47 Rating (163 Votes )
There are 3 Steps involved in it
Step: 1
Conflict serializability Instructions li and lj of transactions Ti and Tj respectively conflict if and only if there exists some item Q accessed by both li and lj and at least one of these instructions wrote Q If li and lj access different data item then li and lj dont conflict li readQ lj readQ li and lj dont conflict li readQ lj writeQ li and lj conflict li writeQ lj readQ li and lj conflict li writeQ lj writeQ li and lj conflict Intuitively a conflict between li and lj forces a logical temporal order between them If a schedule S can be transformed into a schedule S by a series of swaps of non conflicting instructions we say that S and S are conflict equivalent We say that a schedule S is conflict serializable if it is conflict equivalent to a serial schedule Example Schedule S can be transformed into Schedule S by swapping of nonconflicting series of instructions Therefore Schedule S is conflict serializable Instruction ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started