• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 6 páginas
Notas de lectura

College aantekeningen Databases Week 1 (X_401008)

Document preview thumbnail
Vista previa 2 fuera de 6 páginas

College aantekeningen Databases Week 1 (X_) voor artificial intelligence en computer science aan de VU

Vista previa del contenido

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

Información del documento

Estudio
Subido en
30 de mayo de 2023
Número de páginas
6
Escrito en
2022/2023
Tipo
Notas de lectura
Profesor(es)
J. endrullis (jörg)
Contiene
Week 1
$4.04

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
simonvanrens
4.0
(1)
Vendido
11
Seguidores
9
Artículos
10
Última venta
2 año hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes