Professional Documents
Culture Documents
Database Concepts EGS 2207
Database Concepts EGS 2207
Database design
Lecture outline
1. Requirements analysis
2. Conceptual database(db) design
3. Choice of the DBMS
4. Data model mapping(Logical design)
5. Physical design
6. Implementation
feedback loops exist, i.e. may need to revisit earlier
Transaction design:
examines the database applications whose
requirements were analysed in phase 1 and produces
high level specifications for these transactions
Of economic factors
software acquisition/maintenance, hardware
chosen DBMS.
Some CASE tools generate DDL statements from a
conceptual design
Physical design
To create the db
Compile and execute DDL statements
Populate the db
Manually or automatically(may need to convert data
from a previous format)
Implement application programs(Transactions).
Programs are written with embedded DML statements.
Operational phase may begin
PART II
ENTITY RELATIONSHIP MODEL
• Its a tool commonly used to:
–Translate different views of data among end users
and fits it in a common framework
–Define data processing and constraint
requirements to help meet different views
–Help implement the database
Database model using ER modelling
• System requirements analysis
–The first step in developing a database model using ER
modelling is to consider the requirements of the system.
–The requirements are typically gathered from a scope
document
ERD Development Process
Foreign Key
Key Definitions
Primary Key:
One attribute whose value can uniquely identify a
complete record (one row of data) within an entity.
Composite Primary Key
A primary key that consists of two or more attribute
within an entity.
Foreign Key
A copy of a primary key that exists in another entity
for the purpose of forming a relationship between
the entities involved.
Identifier attribute