Lecture 4 Flashcards
Data Abstraction Layers
3 different ways of modeling data in a domain
- Conceptual,
- logical and
- physical model
SAME: entities and relationships
DIFFERENCE: purposes, audiences
Entity Relation Diagram (ERD)
Entity relationship diagram (ERD) represents a detailed picture of the entities needed for a business. Can be conceptual, logical and physical.
external model
the end-users’ view of the data (needs)
tools for external modeling
-
requirements gathering: interviews, focus groups, existing documentation, etc.
- concept template
- defintion of keywords
- grain matrix
- deminsional and relational models
tools for conceptual modeling
- Concept template and definition of keywords
- List of questions and grain matrix
- Dimensional and relational models (e.g. ER-Conceptual model, network model, Axis technique, etc.)
Conceptual models
information gathered from business requirements
efficiency and effectiveness is not considered yet
Logical ER model
- also models information gathered from business requirements
- column types are set
- A logical ER model is normally a conceptual model transformed into a full ER model and normalised
Physical ER model
It represents how data should be structured and related in a specific DBMS
- so it is important to consider the convention and restriction of the DBMS
Besides, database designers may also add primary keys, foreign keys and constraints to the design which were not evident in the logical design