• Keine Ergebnisse gefunden

Relational Databases 1 Exercise Sheet 4: View Integration (until Thursday 15.11.2012)

N/A
N/A
Protected

Academic year: 2021

Aktie "Relational Databases 1 Exercise Sheet 4: View Integration (until Thursday 15.11.2012)"

Copied!
3
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Relational Databases 1

Exercise Sheet 4: View Integration (until Thursday 15.11.2012)

Please note that you need 50% of all exercise points to receive the “Studienleistung”. Exercises have to be turned in until Thursday of each respective week and must be completed in teams of two students each. You may hand in your solutions either on paper before the lecture or into the mailbox at the IFIS floor (Informatikzentrum 2nd floor). Please do not forget to write your

“Matrikelnummer” and your tutorial group number on your solutions. Your solutions may be in German or English. Please note: To pass the “RDB 1 Modul” you need both the exercise points and the exam!

Exercise 4.1 (8 points)

a. Describe a scenario where view integration is necessary. (2 points)

b. Name two types of conflicts that can occur. Briefly explain them in your own words (2 points)

c. Briefly explain the idea of entity clustering in your own words (2 points) d. Explain the necessary clustering steps. Use your own words (2 points)

Exercise 4.2 (8 points)

Name the four basic steps of conceptual schema integration. What are they about? What results/documents do you get after each step?

(2)

Exercise 4.3 (16 points)

Given are the following ER-Diagrams of a bus company:

(1)

State

Tour

Date Driver

Bus Manufacturer

visited by

assigned

with

of

drives residents

state name

tour number price

day

month year name age

bus number

seats

name city

(0,*) (1,*)

(0,*)

(1,*) (1,*)

(1,*) (1,*) (1,1) (0,*) (0,*)

(0,*)

(2)

City

Daytrip

Bus with

from to

state

name residents

tour number price

organizer

date

driver

bus number

seats

manufacturer (0,*)

(1,*) (1,1) (1,*) (1,*)

(1,1)

(3)

a. Discuss strengths and weaknesses of the two diagrams. Which entity types correspond to each other? What conflicts occur? (6 points)

b. Integrate the schemas by resolving all conflicts. Document all non-trivial design decisions. (10 points)

Referenzen

ÄHNLICHE DOKUMENTE

Exercises have to be turned in until Thursday of each respective week and must be completed in teams of two students each.. You may hand in your solutions either on paper before

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

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,

Based on the given conceptual schema, please provide SQL statements to create the according tables described in the schema.. The created tables should regard as much

Find at least 3 independent, non-trivial functional dependencies that do not conflict with the given data (3 points).. Can you be sure, if the functional dependencies found in

Is the data contained in the view created in exercise 11.1a physically stored or calculated at query time.. How can you influence, if the data is stored

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