Give an example of a schedule of two transactions in which a two-phase locking concurrency control

a. makes one of the transactions wait, but a control implementing SNAPSHOT isolation aborts one of the transactions.
b. aborts one of the transactions (because of a deadlock), but a control implementing SNAPSHOT isolation allows both transactions to commit.


a. r1(x) w1(x) r2(y) w2(x) commit2
A two-phase locking concurrency control would make T2 wait, but a SNAPSHOT isolation control would abort T1, since T2 was the first committer.
b. r1(x) r2(y) w2(x) w1(y)

Computer Science & Information Technology

You might also like to view...

Describe what application and system security entails.

What will be an ideal response?

Computer Science & Information Technology

The default value of the border-collapse property is ____.

A. collapse B. spaced C. separate D. double

Computer Science & Information Technology

Element-based rules are shown only in the Manage Styles panel.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following is NOT an APM/ACPI level?

a. Full On b. Enable c. Standy d. Shut Down

Computer Science & Information Technology