Data Modelling and Design Flashcards
Data model pattern
A model for a particular type of problem which outline roles and relationships
Industry data models (consensus)
a model for a particular industry area
Deliverables for data modelling
- Diagrams
- Definitions
- Issues and questions
- Lineage (where the data comes from)
via conceptual, logical, physical data models
What is a data model?
describes the inherent logical structure of the data within a given domain and by the implication the underlying structure of that domain itself.
Levels of data model
enterprise
conceptual
logical
physical
Different DBs are different at the ____ and the same everywhere else
physical level
reverse engineerog
from the physical model to the logical model
forward engineering
from the logical model to the physical model
DDL
Data definitions language - used to create and modify the structure of objects in a database
External and Internal (SPARC)
External = Logical
Internal = Physical
What does a data model represent?
- entities
- attributes
- relationships
- organisation of data, irrespective of how it might be represented on the screen.
explicit relationship
x has y, carries data on the relationship itself
implicit relationship
derived through patterns or relationships within the dataset
Concrete Business Assertion
Relationship
Enterprise model
the big picture
Conceptual Model
Agree basic concepts and rules
Logical Model
detail, physical design
Physical Model
Optimised model for specific technical environment
Supertype Entity
Contains the primary key and common attributes
Subtype Entity
Contain Specific attributes for each type
Discriminator
Attribute to determine which subtype we are talking about
Generalisations
Supertypes
Specialisations
Subtypes
What are the two types of subtype
Exclusive and Inclusive