You are on page 1of 18

Module 2

Data Modeling
Module 2 Overview

• Data Modeling
• ANSI-SPARC Database Model
• Entity Relationship Modeling
Lesson 1: Data Modeling

• Entity Relationship Modeling


• Normalization
• Transaction Path Analysis
Entity Relationship Modeling
Normalization

• Normalization
• Sequentially apply rules to database design for efficiency
• Series of normal forms (7)
• Currently seven normal forms, though development
rarely goes beyond third normal form
• Fourth normal form is called Boyce-Codd
Transaction Path Analysis

• Identify entry points


• Define the entry point entity (or entities)- table (or tables)
• Define the navigation of a process through a data model
• Define how the entity occurrences are selected (one whole set, or
as a subset using search criteria)
• Quantify the navigation
• Quantify each access to an entity or relationship by referring to
relevant documentation:
• Entity (mean, minimum, and maximum occurrences—plus growth rates
if applicable)
• Relationship (degree of relationship in numbers as mean, minimum,
and maximum—plus optionality expressed as a percentage of entities
involved)
• Search criteria (estimation of proportion of entities to be retrieved by a
search)
Lesson 2: ANSI-SPARC Database Model

• External Level
• Conceptual Level
• Internal Level
• Database Schemas
External Level
Conceptual Level
Internal Level- Physical level
Database Schemas

• Three levels:
• External
• Conceptual
• Internal (Physical Level)

• Each has its own schema


• May be many schemas for the external level
Lesson 3: Entity Relationship Modeling

• Entities
• Attributes and Keys
• Relationships
• Types of Relationships
• Notations
Entities
Attributes and Keys
Relationships- ERD (Entity Relationship Diagram)
Types of Relationships
Notations
Lab 2: Identify Components in Entity Relationship Modeling

• Exercise 1: Identify Entities


• Exercise 2: Identify Relationships
• Exercise 3: Finalize Your Model

Logon Information
Ensure that the 10985C-MIA-DC, 10985C-MIA-SQL,
and 10985C-MIA-CLI virtual machines are all
running, and then log on to 10985C-MIA-CLI as
Student with the password Pa55w.rd.

Estimated Time: 50 minutes

You might also like