

Besser lernen dank der zahlreichen Ressourcen auf Docsity
Heimse Punkte ein, indem du anderen Studierenden hilfst oder erwirb Punkte mit einem Premium-Abo
Diese Seite wird in der Vorschau nicht angezeigt
Lass dir nichts Wichtiges entgehen!


Thomas Leich, Sabine Wehnert WS 2019/
Assignment 1: Why does a database management system need transaction management?
Assignment 2: Explain the nine functions by Codd. Which of these rules are in particular relevant for the transaction management?
Assignment 3: Which components of a database management are relevant for the trans- action management?
Assignment 4: Which storage media are relevant for the transaction management? In which storage media would you store the following data:
**1. archives
Assignment 5: Explain and compare semantic integrity and runtime integrity
Assignment 6: Explain the concept of transactions.
Assignment 7: Name and explain the components of the ACID-principle! Which targets are pursued with the ACID-principle?
Assignment 8: Explain the elements of a transaction (control) language. What causes transactions aborts? Which connection exists between internal operations and the transaction management?
Assignment 9: Which problems occur during multi-user operation? Explain the different problems based on the following examples.
Exercise 1 1/
Thomas Leich, Sabine Wehnert Transaction Processing WS 2019/
a)
T1 T r(K) K:=K+ w(K) r(K) K:=K- w(K) commit; abort;
b)
T1 T r(B) r(K) r(B) K:=K+ B:=B+ w(K) w(B) commit; r(K)
c)
T1 T r(K) r(B) B:=B+ w(B) r(K) r(B) K:=K+ w(K) commit;
Begin:(K=1, B=0), Constraint: (K≥0) (B < K)
d)
r(A) r(A) A:=A+ A:=A+ w(A) w(A) commit; commit;
e)
r(A) A:=A∗1, w(A) r(A);r(B) A:=A+1;B:=B+ w(A);w(B) commit; r(B) B:=B∗1, w(B) commit; Constraint: (A=B)
f)
Position cursor on tuple B Position cursor on tuple A Process tuple Process tuple
Exercise 1 2/