• Keine Ergebnisse gefunden

Relational Databases 2 Exercise Sheet 7: Transaction Processing 2 (until Friday 18.07.2014)

N/A
N/A
Protected

Academic year: 2021

Aktie "Relational Databases 2 Exercise Sheet 7: Transaction Processing 2 (until Friday 18.07.2014)"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Relational Databases 2

Exercise Sheet 7: Transaction Processing 2 (until Friday 18.07.2014)

Exercises will be discussed on Friday on week after the respective lecture was given. The handouts are optional and do not have to be handed in. They only serve as optional preparation for the oral exams at the end of the semester.

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)

Apply and visualize the altruistic locking algorithm for both schedules. Can the schedule be exe- cuted?

Exercise 2

a. Why is overload control important?

b. What are optimistic protocols?

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

Referenzen

ÄHNLICHE DOKUMENTE

CREW(movie, person not null , type not null , creditpos) REMARK(movie, person not null , remark not null ) GENRE(movie, genre not null ).. COUNTRY(movie, country not

c) A query for creating a list of aliases and the according first names and last names. Assume the relations given in Appendix A. a) Rewrite query c) from exercise 1 using

Assume the relations given below. Draw an canonical operator tree for the following query:. SELECT

Exercises have to be turned in until Thursday before the lecture either in the lecture hall or into our mailbox at the IFIS floor (Mühlenpfordtstraße 23, 2 nd floor). Please do

Exercises have to be turned in until Thursday before the lecture either in the lecture hall or into our mailbox at the IFIS floor (Mühlenpfordtstraße 23, 2 nd floor)..

Exercises have to be turned in until Thursday before the lecture either in the lecture hall or into our mailbox (Informatikzentrum 2 nd floor). Please do not forget

Given a database schema based on the CREATE TABLE statements from Exercise 0 and using the SQL syntax introduced in the lecture, provide INSERT, UPDATE, and DELETE statements for the

If the scheduler can choose which operation to execute, it chooses the operation that has been occurred earlier in