Professional Documents
Culture Documents
Conceptual Model
Introduction
• The analysis of an Online Transaction
Processing System consists of the following:
1. Analysis of Requirements
• User needs in terms of business rules
2. Conceptual Design
3. Logical Design
4. Physical Design
Conceptual Design
• Mapping of the real-world needs into
technical requirements.
– The Entity Relational Model
• The output of the ER Model should answer
the following:
– What are the entities and relationships?
– What information about them should be stored?
– What are the integrity constraints or business
rules that hold?
Logical Design and Physical Design
• Logical Design
– The ER model is mapped into a normalized
Relational data model.
• Physical Design
– Consists of SQL programming
• Create, populate and query a relational database.
Entity Relationship Model
(Designed by Peter Chen)
• Entity
– Represents a thing or object of the real world and is
distinguished from others according to its
characteristics.
• An Entity Set is a collection of
similar entities, or instance, a set of all
students, and is represented by a rectangle.
• One-to-Many
Wor Departme
Employee 1 M
k nt
• Many-to-One
Wor Departme
Employee M 1
k nt
• Many-to-Many
Wor Departme
Employee M M
k nt
More Terminologies
• Entity Schema
– Definition of a structure of an entity.
• Redundancy
– Storage of same data several times in different places in the
same database.
• Inocnsistency
– When redundant data are not equal to each other
• Intension (Database Schema)
– Is a set of definition of data structures for a particular database.
• Instance
– Actual content of the database or the data at a particular time.
– Usually change with time.
Peter Chen’s Entity Relational Diagram
• Rectangles represent entity types
• Ellipses represent attributes
• Diamonds represent relationship types
• Lines links attributes to entity types and entity
types to relationship types.
• Primary keys are underlined.
Summary
• Conceptual Design (More Abstract)
– The output is the Entity Relational Model
• Logical Design
– The output is the Relational Model
• Physical Design
– DDL File