Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

distributed database ve Exercise 1 Assume that two concurrent executing transactions T1 and T2 are allowed to update same stock item say 'A' in an

distributed database
image text in transcribed
ve Exercise 1 Assume that two concurrent executing transactions T1 and T2 are allowed to update same stock item say 'A' in an uncontrolled manner. In such scenario. Give the problems no concurrency module and allows concurrent execution. Exercise 2 Suppose that 2PC with Presumed Abort is used as the commit protocol. Explain how the system recovers from failure and deals with particular transaction T in each of the following cases: (a) A subordinate site for T fails before receiving a prepare message. (b) A subordinate site for T fails after receiving a prepare message but before making a decision (c) The coordinator site for T fails before sending a prepare message, (d) The coordinator site for T fails after writing an abort log record but before sending any further messages to its subordinates

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

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions

Question

1. Where do these biases come from?

Answered: 1 week ago

Question

7. What decisions would you make as the city manager?

Answered: 1 week ago