The three levels of data modeling.
Conceptual data model
|
A conceptual data model identifies the highest-level relationships between the different entities. Features of conceptual data model include:
|
Logical data model
|
A logical data model describes the data in as much detail as possible, without regard to how they will be physical implemented in the database. Features of a logical data model include:
The steps for designing the logical data model are as follows:
|
Physical data model
|
Physical data model represents how the model will be built in the database. A physical database model shows all table structures, including column name, column data type, column constraints, primary key, foreign key, and relationships between tables. Features of a physical data model include:
The steps for physical data model design are as follows:
The figure below is an example of a physical data model. |
Feature | Conceptual | Logical | Physical |
Entity Names | ✓ | ✓ | |
Entity Relationships | ✓ | ✓ | |
Attributes | ✓ | ||
Primary Keys | ✓ | ✓ | |
Foreign Keys | ✓ | ✓ | |
Table Names | ✓ | ||
Column Names | ✓ | ||
Column Data Types | ✓ |
Below we show the conceptual, logical, and physical versions of a single data model.