100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

College Notes Databases Week 1 (X_401008)

Rating
-
Sold
-
Pages
6
Uploaded on
30-05-2023
Written in
2022/2023

Lecture notes Databases Week 1 (X_401008) for artificial intelligence and computer science at the VU

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
May 30, 2023
Number of pages
6
Written in
2022/2023
Type
Class notes
Professor(s)
J. endrullis (jörg)
Contains
Week 1

Subjects

Content preview

Databases Week 1 – Data Modelling

Database Design Phases
Database design:
- Formal model of relevant aspects of the real world
- The real world serves as measures of correctness
3 phases of Database design:
- Conceptual Database Design:
o What info do we store?
o How are info elements related to each other?
o What are the constraints?
o “ER model or UML model”
- Logical Database Design:
o Transformation of the conceptual schema into the schema
supported by the database
o “Relational Model”
- Physical Database Design:
o Design indexes, table distribution, buffer sizes…
o To maximize performance of the final system



Entity relationship model
An entity is an abstract
object: person company
event.
Entities have attributes:
people have names etc.

, Entity set is collection of similar entities: set of all persons, companies,
trees.
Entity = object & entity set = class
Important difference: the ER model is static
- Models structure of data, not operations
- No methods/functions associated to entity set
Attributes types:
- Simple and Composite:
o Street is composed of street name and number
- Single valued and multi valued:
o Single: age of person
o Multi: person has multiple phone numbers
- Derived:
o Can be computed from other attributes
o Age can be computed given the date of birth
Relationship set is a set of relationship of the same kind:
{ (Messi, PSG)
(Ronaldo, ManU)
(FDJ, Barcelona)
(Messi, Argentina)
}
So, ‘PlaysAt’ relationship set between entity sets footballer and
footballclub.
Role indicators: customer buyer ‘BuysFrom’ seller shop.
The degree of a relationship set refers to number of entity sets
participating in relationship: of degree 2 = binary and of degree 3 =
ternary.


Cardinality Limits
= expresses the number of entities to which another entity can be
associated via a relationship set.
Many different notations: we use UML notation.


2

Get to know the seller

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.
simonvanrens Vrije Universiteit Amsterdam
Follow You need to be logged in order to follow users or courses
Sold
11
Member since
5 year
Number of followers
9
Documents
10
Last sold
1 year ago

4.0

1 reviews

5
0
4
1
3
0
2
0
1
0

Recently viewed by you

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

Frequently asked questions