Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The relation ( ) consists of a set of integers - - - that is , one - component tuples with an integer component. Alice's

The relation
(
)
consists of a set of integers
-
-
-
that is
,
one
-
component tuples with an integer
component. Alice's transaction is a query:
FROM
;
COMMIT;
Betty's transaction is a sequence of inserts:
INSERT INTO R VALUES
(
1
0
)
;
INSERT INTO R VALUES
(
2
0
)
;
INSERT INTO R VALUES
(
3
0
)
;
COMMIT;
Carol's transaction is a sequence of deletes:
DELETE FROM
WHERE
=
3
0
;
DELETE FROM R WHERE
=
2
0
;
COMMIT;
Before any of these transactions execute, the sum of the integers in
is
1
0
0
0
,
and none of
these integers are
1
0
,
2
0
,
or
3
0
.
If Alice's, Betty's, and Carol's transactions run at about the
same time, and each runs under isolation level READ COMMITTED, which sums could be
produced by Alice's transaction? Identify one of those sums from the list below.
1
0
0
0
9
9
0
1
0
3
0
1
0
2
0

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

Database Design For Mere Mortals

Authors: Michael J Hernandez

4th Edition

978-0136788041

More Books

Students also viewed these Databases questions

Question

What is the difference between a one-tail test and a two-tail test?

Answered: 1 week ago

Question

=+5. How might managers address any abuse of sick leave?

Answered: 1 week ago