• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 8 pages
Summary

Samenvatting Databases IK

Document preview thumbnail
Preview 2 out of 8 pages

Korte samenvatting van belangrijke stof uit het boek Database System Concepts.

Content preview

Week 1 ­ Takeaways H1

­ Entity­Relationship data model (ER)
Models an enterprise as a collection of entities and relationships.

Week 2 ­ Takeaways H7

­ Wanneer een entity kan behoren tot meerdere ​
specialized entity
sets​
…
→​Overlapping Specialization



­ Wanneer een entity mag behoren tot één ​
specialized entity set…
→​ Disjoint Specialization



­ Wanneer een attribute eigenlijk bestaat uit meerdere delen
(naam = voornaam, achternaam)...
→​ Composite Attribute

­ Wanneer je een attribuut kan afleiden van andere data...
→​ Derived Attribute ()

­ Wanneer een attribuut meerdere waarden kan aannemen
→​ {Multivalued Attribute}



­ Een ​ identifying relationship set​ ​escriptive
mag géén d
attributes​ hebben!

­ Wanneer alle entities van een entity een bepaalde relatie moeten aangaan
(bijvoorbeeld: elke student heeft een studieadviseur)...
→​Total Participation

­ weak entity set​
Een ​ ​rimary key​
heeft niet genoeg keys om een p te vormen. Deze is
afhankelijk van…
→​ Identifying Entity Set
→ (met als relatie) I​dentifying Relationship Set

­ weak entity set​
Een ​ ​rimary key
kun je identificeren door de p
Identifying Entity Set​
van de ​ plus de d​iscriminator​ ofwel ​
partial
key​(dashed keys) te nemen.

, ­ ​eak entity set​
De participatie van een w dentifying Relationship Set​
in een I​ is ​
altijd
en ​
total​ many­to­one​ .




­ Indien een ​
weak entity set…...
1) Weinig attributes heeft...
2) Alléén een relatie heeft met de i​ dentifying entity set...
→​ Dan mag je hem ook modelleren als een m ​ultivalued+composite​ attribute,
binnen de ​identifying entity set,​i.p.v. een nieuwe w​eak entity set.​
→ Dit is een ​
design​ keuze.



[​
E­R diagram naar een schema…​
]



­ Een normale (​ )​
strong​ entity set​
behoudt dezelfde attribute­indeling
in het schema.
→​department(​
dept_name,​building, budget)

­ Een aparte ​ entity set​
​
strong​ …
­ Composite → alleen de ‘binnenste’ attributes overnemen;
name​ niet, ​
first_name wel
­ Derived → niet​overnemen
­ Multivalued → nieuwe e ​ntity set​met als PK die van de
originele entity set (met dubbele ID­entries voor bijv.
meerdere telefoonnummers) en een FK naar de
originele entity set
­ Generalized → alleen de subtabellen meenemen; die nemen de
attributes over van de hoofdtabel

­ Een ​weak​ entity set​wordt gedefinieerd door
de PK van de ​ identifying entity set​
plus de
discriminator​ (dashed keys) van de w ​eak
entity set​
zelf
→​ section(​
course_id,​​ sec_id,​​
semester​
,​
year)​
→ N.B. niet elke w​eak entity set​bestaat volledig uit een discriminator

Connected book
 image
Abraham Silberschatz, Henry F. Korth Database System Concepts
Publisher: januari 2010 ISBN: 9780073523323 Edition: 1

Document information

Study
Summarized whole book?
No
Which chapters are summarized?
H1 t/m h8
Uploaded on
November 20, 2017
Number of pages
8
Written in
2016/2017
Type
Summary
$4.01

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
merelstammes
3.3
(3)
Sold
38
Followers
33
Items
5
Last sold
2 year ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions