Conceptual Data Model
Data Modelling Concept / Data Modelling
Conceptual Model
Logical Model
Physical Mode
Conceptual Model
There are description of Tables, Columns,
Object Oriented Classes, XML Tags,
Document Structure
Logical Model
This Model Cares about the actual physical
structure to store the data, like the
partitions, CPU Spaces, Replications,
Shards etc
Physical Model
Types of Data Models
Entity-Relationship (E-R) Model
UML (Unified Modeling Language)
Entity-Relationship (E-R) Models
UML (Unified Modeling Language)
Entity Relationship Model
Logical Data Model
effectively become tables
Entities
describe entities and become
fields (columns) in tables
Attributes
link tables on a common
attribute or “key” and become formal
constraints (part of the business rules)
Relationships
ER Diagram Relationship Notation
maximum number of times
an instance in one entity can be associated
with instances in the related entity
- Can ONLY have values of 1 or many
- Located closest to the entity in Crow’s Foot notation
Cardinality
minimum number of times
an instance in one entity can be associated
with instances in the related entity
- Indicates whether an instance of an entity
MUST participate in the relationship
- Can ONLY have the values of 0 or 1
Participation
attribute that is a persistent, unique
identifier
Primary Key
in “parent” table
Primary key
in “child” table
Foreign key
Categories of Data Model
Relational Model
ER Model
Object-Based Model
Semistructured Data Model
Relational Model
ER Model
Object-Based Model
Semistructured Data Model