• Keine Ergebnisse gefunden

Relational Databases 2 Exercise Sheet 10: Transaction Processing 2

N/A
N/A
Protected

Academic year: 2021

Aktie "Relational Databases 2 Exercise Sheet 10: Transaction Processing 2"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Relational Databases 2 Exercise Sheet 10: Transaction Processing 2

Exercise 1

Given two schedules:

r2(z) r2(y) w2(y) r3(y) r3(z) r1(x) w1(x) w3(y) w3(z) r2(x) r1(y) w1(y) w2(x) r3(y) r3(z) r1(x) w1(x) w3(y) w3(z) r2(z) r1(y) w1(y) r2(y) w2(y) r2(x) w2(x)

a. Apply and visualize the timestamp ordering algorithm for both schedules. Can the schedule be executed?

b. Apply and visualize the altruistic locking algorithm for both schedules. Can the schedule be executed?

c. Apply the ostrich algorithm for both schedules. Can the schedule be executed?

Exercise 2

a. What is a predicate lock?

b. Why is overload control important?

c. What are optimistic protocols?

d. Explain the concept of isolation levels. Give example for each of them.

Referenzen

ÄHNLICHE DOKUMENTE

• A transaction T2 creates a new account (Kto-Nr: 180; Balance: 750) and updates the Sum of the corresponding office in the investment table?. Show a schedule where

c) Describe briefly the 3 phases of ARIES. d) What does steal/no-steal and force/no-force mean with regard to buffer management for

Considering a large company: Would they prefer role-based access control or discretionary access control.. Please explain

Provide an example on how perturbation-based techniques can improve statistical database

Is it possible in general to have two primary indexes on the same relation for different search keys?. How does multilevel indexing improve the efficiency of searching an

What are the main steps that need to be processed in order to answer a user’s query.. What needs to be optimized in

What is the advantage of conflict serial- izable schedules compared to serializable schedules?. What is the problem with conflict serializable schedules

Exercises will be discussed on Friday on week after the respective lecture was given.. The handouts are optional and do not have to be