Question

In: Computer Science

Provide an example for each of the following types of data model: -Conceptual data models -Physical...

Provide an example for each of the following types of data model:

-Conceptual data models

-Physical data models

-Representational data models

Solutions

Expert Solution

Conceptual Data Model

A conceptual data model identifies the highest-level relationships between the different entities. Features of conceptual data model include:

  • Includes the important entities and the relationships among them.
  • No attribute is specified.
  • No primary key is specified.

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:

  • Specification all tables and columns.
  • Foreign keys are used to identify relationships between tables.
  • Denormalization may occur based on user requirements.
  • Physical considerations may cause the physical data model to be quite different from the logical data model.
  • Physical data model will be different for different RDBMS. For example, data type for a column may be different between MySQL and SQL Server.

The steps for physical data model design are as follows:

  1. Convert entities into tables.
  2. Convert relationships into foreign keys.
  3. Convert attributes into columns.
  4. Modify the physical data model based on physical constraints / requirements.

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:

  • Entity names are now table names.
  • Attributes are now column names.
  • Data type for each column is specified. Data types can be different depending on the actual database being used.

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:

  • Includes all entities and relationships among them.
  • All attributes for each entity are specified.
  • The primary key for each entity is specified.
  • Foreign keys (keys identifying the relationship between different entities) are specified.
  • Normalization occurs at this level.

The steps for designing the representational data model are as follows:

  1. Specify primary keys for all entities.
  2. Find the relationships between different entities.
  3. Find all attributes for each entity.
  4. Resolve many-to-many relationships.
  5. Normalization.

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:

  • In a representational data model, primary keys are present, whereas in a conceptual data model, no primary key is present.
  • In a representational data model, all attributes are specified within an entity. No attributes are specified in a conceptual data model.
  • Relationships between entities are specified using primary keys and foreign keys in a logical data model. In a conceptual data model, the relationships are simply stated, not specified, so we simply know that two entities are related, but we do not specify what attributes are used for this relationship.

Related Solutions

Develop a conceptual data model for the following scenario: The data model should consist of the...
Develop a conceptual data model for the following scenario: The data model should consist of the usual 5 components: E-R diagram, Entity Types (including entity type identifiers), assumptions, additional constraints, and limitations: It is desired to develop a shop database for a shop of different classes of products. A shop sells different classes of products to customers. For each class, it is required to keep the following information: class identification number (class-id) and class name. Each class has one or...
Provide a description and an example of a realistic situation using each of the following types...
Provide a description and an example of a realistic situation using each of the following types of attention. Your examples should include names and a scenario for each (i.e., you will provide a short story for each). Selective Attention Controlled processing Automatic processing Vigilance Cocktail party phenomenon Divided Attention
describe and provide an example for each of the following human needs physical needs psychological needs...
describe and provide an example for each of the following human needs physical needs psychological needs spiritual needs cultural needs sexual needs
7. The data model that addresses the data requirements is the _____. Logical data model Conceptual...
7. The data model that addresses the data requirements is the _____. Logical data model Conceptual data model Relational database Physical data model 8. The hierarchical data base relationships are called _____. Structured Parent and child Table Owners and members 9. Java is used in what type of database? Relational Object-oriented Multidimensional Hierarchical 10. Data repositories are _____. A proprietary database Used solely for clinical data A database used solely for video and audio An open-structure database
provide an example each for the protective factors for physical, emotional and mental health issues or...
provide an example each for the protective factors for physical, emotional and mental health issues or health needs
what are the three types of occupational illnesses, and provide an example of each (must be...
what are the three types of occupational illnesses, and provide an example of each (must be at leasr 150 words)
In this post, describe the three different types of costs and provide an example of each...
In this post, describe the three different types of costs and provide an example of each of the cost types.
Describe related models to explain why cities exist. Give an example for each model. ( 50...
Describe related models to explain why cities exist. Give an example for each model. ( 50 marks) i. Model 1: Backyard production – a region without cities ii. Model 2: Trading city iii. Model 3: Factory town
List the five components of health-related physical fitness. For each component, provide an example of one...
List the five components of health-related physical fitness. For each component, provide an example of one measurement technique and state if it is a field of lab test.
Three types of artificial intelligence. Explain how each works and provide an example on how each...
Three types of artificial intelligence. Explain how each works and provide an example on how each are being used?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT