100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
College Notes Databases Week 1 (X_401008) $3.20
Add to cart

Class notes

College Notes Databases Week 1 (X_401008)

 9 views  0 purchase
  • Course
  • Institution

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

Preview 2 out of 6  pages

  • May 30, 2023
  • 6
  • 2022/2023
  • Class notes
  • J. endrullis (jörg)
  • Week 1
avatar-seller
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller simonvanrens. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $3.20. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

53068 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$3.20
  • (0)
Add to cart
Added