• Keine Ergebnisse gefunden

Relational Databases 2 Exercise Sheet 8: Transaction Processing (until Tuesday 23.06.2012)

N/A
N/A
Protected

Academic year: 2021

Aktie "Relational Databases 2 Exercise Sheet 8: Transaction Processing (until Tuesday 23.06.2012)"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Relational Databases 2

Exercise Sheet 8: Transaction Processing (until Tuesday 23.06.2012)

Exercises have to be turned in until Tuesday of each respective week and may be completed in teams of two students each. You may hand in your solutions on paper before the lecture or into the mailbox at the IFIS floor (Mühlenpfordtstraße 23, 2nd floor). Please do not forget your

“Matrikelnummer” on your solutions. Please note: all exercises are optional.

Exercise 1

Given is the following schedule:

T1 T2 T3 T4

1 read(A)

2 read(A)

3 write(B)

4 write(A)

5 commit

6 read(B)

7 read(B)

8 write(C) 9 commit

10 read(A)

11 write(C)

12 commit

13 write(A)

14 commit

a. Show the corresponding conflict graph.

b. Is the schedule serializable? If yes, in which order would the transaction be executed in an equivalent serialized schedule?

c. Consider the scheduler uses the strong strict two-phase locking protocol. Show a corre- sponding schedule. If the scheduler can choose which operation to execute, it chooses the operation that has been occurred earlier in the input-schedule.

Referenzen

ÄHNLICHE DOKUMENTE

Why are simple binary search trees unsuitable for indexing database records.. Exercise 2

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

Based on this relation schema, please provide statements returning following results in relational algebra, tuple relational calculus and domain relational calculus:.

actor(person → Person, movie → Movie, role) director(person → Person, movie → Movie) hasGenre(movie → Movie, genre → Genre) connection(from → Movie, to → Movie,

Explain the difference between Internal-, Conceptual- and External schemas used in relational database architectures. Explain the difference between Logical- and Physical

Explain the main characteristics of offline, nearline and online storage and give an example.. What type of data should be stored in