Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Transactions and Concurrency Consider the following classes of schedules: serializable, conflict-serializable, view serializable, recoverable, avoids-cascading-aborts, and strict. For each of the following schedules, state which

image text in transcribed

Transactions and Concurrency

Consider the following classes of schedules: serializable, conflict-serializable, view serializable, recoverable, avoids-cascading-aborts, and strict. For each of the following schedules, state which of the preceding classes it belongs to. If you cannot decide whether a schedule belongs in a certain class based on the listed actions, explain briefly. The actions are listed in the order they are scheduled and prefixed with the transaction name. If a commit or abort is not shown, the schedule is incomplete; assume that abort or commit must follow all the listed actions.

1. T1:W(A), T2:R(B), T1:R(B), T2:R(A) 2. T1:R(A), T2:W(A), T1:W(A), T2:Abort, T1:Commit 3. T1:W(A), T2:R(A), T1:W(A), T2:Abort, T1:Commit 4. T2:R(A), T3:W(A), T3:Commit, T1:W(B), T1:Commit, T2:R(B), T2:W(C), T2:Commit 5. T1:R(A), T2:W(A), T2:Commit, T1:W(A), T1:Commit, T3:R(A), T3:Commit

Question 5 (10 marks) Consider the following classes of schedules: serializable, conflict-serializable, view serializable, re- coverable, avoids-cascading-aborts, and strict. For each of the following schedules, state which of the preceding classes it belongs to. If you cannot decide whether a schedule belongs in a certain class based on the listed actions, explain briefly. The actions are listed in the order they are scheduled and prefixed with the transaction name. If a commit or abort is not shown, the schedule is incomplete; assume that abort or commit must follow all the listed actions. [2 marks each] 1. Tl:W(A), T2:R(B), T1:R(B), T2:R(A) 2. TI:R(A), T2:W(A), Tl:W(A), T2:Abort, T1:Commit 3. T1:W(A), T2:R(A), Tl:W(A), T2:Abort, T1:Commit 4. T2:R(A), T3:W(A), T3:Commit, T1:W(B), T1:Commit, T2:R(B), T2:W(C), T2:Commit 5. T1 R(A), T2:W(A), T2:Commit, T1:W(A), Tl:Commit, T3:R(A), T3:Commit

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

Q .1. Different ways of testing the present adulterants ?

Answered: 1 week ago

Question

Q.1. Health issues caused by adulteration data ?

Answered: 1 week ago

Question

1. Traditional and modern methods of preserving food Articles ?

Answered: 1 week ago

Question

What is sociology and its nature ?

Answered: 1 week ago