Lecture 6 - Database Design Process PDF
Lecture 6 - Database Design Process PDF
Lecture 6 - Database Design Process PDF
Database Systems
Unit 6 :
Database Design
Process
Unit 6 :
Database Design Implementation
Topic 6
Objective :
At the end of this unit, you should be able to:
Learn activities to be performed in the
database development process
Name the Three-Level Architecture of
database with phases of database design.
Topic 6
Database Development
Process
Topic 6
Database planning
Data requirement collection and analysis
Database design (modelling)
Database implementation
Data conversion and loading
Topic 6
1. Database Planning
It is the management activities that allow the stages
of the database application to be realized as
efficiently and effectively as possible. The activities
include:
a) Define mission statement
b) Define mission objectives
c) Specifying the scope and boundaries of the
database application and the major user views.
Topic 6
Topic 6
Example:
1 Department ( DepNo, Dname, Dlocation, Strength ) Text of 12 character length
N
IT1768 Database Systems
Topic 6
Business Rules
Business Rules
Restrictions on the businesss activities that must be
reflected in the database and database applications
Examples :
o Each account is designated with one account number.
o One customer can have more than one account numbers
o Account Balance cannot be negative
o A minimum balance of $10 must be maintained at all time
o A student must attend a course
o A course can have zero or many students
Topic 6
Database Normalization
A relational database can be modelled by Entity
Relationship (ER) Modelling.
Topic 6
10
Topic 6
11
Topic 6
12
Topic 6
13
Topic 6
External
Level
Conceptual
Level
Internal
Level
Physical
data
organization
IT1768 Database Systems
Reception
Purchasing
View 1
The 3-Level
Architecture
of Database
View 2
etc.
Design
Conceptual Schema
Internal Schema
View n
External to
conceptual
mapping
Conceptual to
internal
mapping
Database
14
Topic 6
The 3 Level Architecture has the aim of enabling users to access the same
data but with a personalized view of it. The distancing of the internal level
from the external level means that users do not need to know how the data
is physically stored in the database. This level separation also allows the
Database Administrator (DBA) to change the database storage structures
without affecting the users' views
IT1768 Database Systems
15
Topic 6
Conceptual Level
- This level describes what data is stored in the database and the
relationships among the data; these include the entities, data types,
relationships, user operations and constraints in a database.
16
Topic 6
17
Topic 6
External
level
View 1
View 2
Conceptual level
Salary
Staff_No LName
Internal level
Bno
Branch_No
18
Topic 6
Summary
The activities to be performed in the
database development process
The three-Level architecture of database
with phases of database design
19