Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2.1.1: Transactions. Describe each set of transactions. begin{tabular}{|l|} hline multicolumn{2}{|c|}{ Set 1} hline T2 computes sum of accounts hline T1 increases account A

2.1.1: Transactions.

image text in transcribed

Describe each set of transactions. \begin{tabular}{|l|} \hline \multicolumn{2}{|c|}{ Set 1} \\ \hline T2 computes sum of accounts \\ \hline T1 increases account A by $50 \\ \hline T1 commits \\ \hline T2 if sum > expected, add $10 to all accounts \\ \hline T2 commits \\ \hline T3 finds largest account \\ \hline T3 pays CEO 1% of largest account \\ \hline T3 commits \\ \hline \end{tabular} \begin{tabular}{|l|} \hline \multicolumn{1}{|c|}{ Set 2} \\ \hline T1 adds $50 to account A \\ \hline T2 reads account A \\ \hline T2 increases account A by 10% \\ \hline T1 rolls back \\ \hline T3 reads account A \\ \hline T3 pays CEO 1% of account A \\ \hline T3 commits \\ \hline T2 commits \\ \hline \end{tabular} T1 executes Pick T1 executes Pick T2 executes Pick T2 executes Pick T3 executes Pick T3 executes Pick

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

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions