Information Systems (Informationssysteme)
Jens Teubner, TU Dortmund jens.teubner@cs.tu-dortmund.de Summer 2019
c Jens Teubner · Information Systems · Summer 2019 1
Information Systems (Informationssysteme) Jens Teubner, TU Dortmund - - PowerPoint PPT Presentation
Information Systems (Informationssysteme) Jens Teubner, TU Dortmund jens.teubner@cs.tu-dortmund.de Summer 2019 Jens Teubner Information Systems Summer 2019 c 1 Part IV Database Design Jens Teubner Information Systems
c Jens Teubner · Information Systems · Summer 2019 1
c Jens Teubner · Information Systems · Summer 2019 40
1 requirements analysis — Meet with customers, understand their
2 conceptual design — Develop a high-level model for the data that
c Jens Teubner · Information Systems · Summer 2019 41
3 logical design — Convert the conceptual design into the data model
4 schema refinement — Refine obtained conceptual schema, e.g.,
5 physical design — Develop a physical schema that meets the
c Jens Teubner · Information Systems · Summer 2019 42
c Jens Teubner · Information Systems · Summer 2019 43
c Jens Teubner · Information Systems · Summer 2019 44
c Jens Teubner · Information Systems · Summer 2019 45
c Jens Teubner · Information Systems · Summer 2019 46
c Jens Teubner · Information Systems · Summer 2019 47
c Jens Teubner · Information Systems · Summer 2019 48
c Jens Teubner · Information Systems · Summer 2019 49
c Jens Teubner · Information Systems · Summer 2019 50
c Jens Teubner · Information Systems · Summer 2019 51
c Jens Teubner · Information Systems · Summer 2019 52
c Jens Teubner · Information Systems · Summer 2019 53
c Jens Teubner · Information Systems · Summer 2019 54
c Jens Teubner · Information Systems · Summer 2019 55
c Jens Teubner · Information Systems · Summer 2019 56
c Jens Teubner · Information Systems · Summer 2019 57
c Jens Teubner · Information Systems · Summer 2019 58
c Jens Teubner · Information Systems · Summer 2019 59
c Jens Teubner · Information Systems · Summer 2019 60
c Jens Teubner · Information Systems · Summer 2019 61
c Jens Teubner · Information Systems · Summer 2019 62
cardinality role name A
cardinality role name B
cardinality role name A
cardinality role name B
c Jens Teubner · Information Systems · Summer 2019 63
Name Cocktail ID Since Description Instructions
Ingr ID Flavor Name Alcohol
Supp ID Address Name WWW
Contact ID Email Name Phone
(0, ∗) (1, ∗)
(1, ∗) (1, ∗)
(0, 1) (1, 1)
c Jens Teubner · Information Systems · Summer 2019 64
c Jens Teubner · Information Systems · Summer 2019 65
c Jens Teubner · Information Systems · Summer 2019 66
5Fields marked as NOT NULL cannot be left blank for any row; key columns must be
c Jens Teubner · Information Systems · Summer 2019 67
c Jens Teubner · Information Systems · Summer 2019 68
c Jens Teubner · Information Systems · Summer 2019 69
c Jens Teubner · Information Systems · Summer 2019 70
c Jens Teubner · Information Systems · Summer 2019 71
c Jens Teubner · Information Systems · Summer 2019 72
6SQL is declarative and does not really offer navigation primitives. c Jens Teubner · Information Systems · Summer 2019 73
c Jens Teubner · Information Systems · Summer 2019 74
c Jens Teubner · Information Systems · Summer 2019 75
c Jens Teubner · Information Systems · Summer 2019 76
c Jens Teubner · Information Systems · Summer 2019 77
1 No relations could be merged. 2 ContactPersons could be merged with ContactPersonFor. 3 Suppliers could be merged with ContactPersonFor. 4 All three relations could be merged into one.
c Jens Teubner · Information Systems · Summer 2019 78
3 :
c Jens Teubner · Information Systems · Summer 2019 79
c Jens Teubner · Information Systems · Summer 2019 80
c Jens Teubner · Information Systems · Summer 2019 81
c Jens Teubner · Information Systems · Summer 2019 82
c Jens Teubner · Information Systems · Summer 2019 83
1 Map all entity sets to a relation. 2 Identify a primary key in each resulting relation. 3 Map all relationship sets to a relation. 4 Identify foreign key constraints in all those relations. 5 Refine the resulting schema by merging relations with same key.
c Jens Teubner · Information Systems · Summer 2019 84