In: Computer Science
Provide an example for each of the following types of data model:
-Conceptual data models
-Physical data models
-Representational data models
Conceptual Data Model
A conceptual data model identifies the highest-level relationships between the different entities. Features of conceptual data model include:
The figure below is an example of a conceptual data model.
Conceptual Data Model
From the figure above, we can see that the only information shown via the conceptual data model is the entities that describe the data and the relationships between those entities. No other information is shown through the conceptual data model.
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.
Physical Data Model
Comparing the physical data model shown above with the logical data model diagram, we see the main differences between the two:
Representational Data Model
A representational data models describes the data in as much detail as possible, without regard to how they will be physical implemented in the database. Features of a representational data model include:
The steps for designing the representational data model are as follows:
The figure below is an example of a representational data model.
representational data model
Comparing the representational data model shown above with the conceptual data model diagram, we see the main differences between the two: