Session One
Introduction to the Course and Entities

Topics


Introduction to the course


Overview of Data Modeling and Database Design

Power Point: Overview

The Goal

The Process

CONCEPTUAL
(Business View)
LOGICAL
(Systems View)
Analysis Design
Entity Table
Relationship Foreign Key
Attribute Column
Unique Identifier Primary Key
Unique Key
Database Development Process
Phase Objectives
Conceptual data modeling Define and model the things of significance about which the business needs to know or hold information and the relationships between them.
Logical database design Map the information requirements reflected in an ER model into a relational database design
Physical database design Create physical relational database tables to implement the design.

Entity Definitions

Power Point: Entities
Attribute Definitions (We will cover attributes more in a later session.) All entities must have attributes or they are not entities. Remember the definition of an entity ‘. . .about which the business needs to hold information’. Attributes are the way information about entities are stored.

Instance VS Entity

If an entity does not have multiple instances then it is probably not an entity but rather an attribute of another entity. This is not a hard and fast rule but is very unusual.

Identifying a Unique Instance
Each instance of an entity must be uniquely identifiable from other instances of the same entity. An attribute or set of attributes that do this is called a Unique Identifier (UID).

Identifying and Modeling Entities
Follow the steps below to help you identify and model entities from a set of interview notes or other documentation.

  1. Examine each noun. Is each one significant to the business?
  2. Is there information of interest about it that the business needs to hold?
  3. Name the entity using a singular form.
  4. Is it possible to identify one entity instance distinctly from another?
  5. Describe the entity to make sure that everyone in the team has the same understanding of its meaning. This is of the utmost importance as it helps to define the entity and sets the rule for what it takes to be a member of the set.

Summary



Two other problems:

SCOPE CREEP
A projects information scope increases as work in developing the model proceeds.  Maybe adding new or additional entities

AMBIGUITY
"I have a dog and it is black and white"


Assignment for next class.