Database Planning Design and Database Planning, Design, and Administration
Database Planning Design and Database Planning, Design, and Administration
Database Planning Design and Database Planning, Design, and Administration
Lecture 15
Database Planning
Planning, Design
Design, and
Administration
Main
M i stages
t off database
d t b system
t development
d l t
lifecycle.
2
Objectives
H
How to evaluate
l and
d select
l a DBMS.
DBMS
Distinction
i i i between data administration
i i i and
database administration.
2
Software Depression
Database planning
System definition
Database design
Application design
Prototyping
yp g (optional)
( p )
Implementation
Data conversion and loading
Testing
g
Operational maintenance
Stages of the Database System
Development Lifecycle
Database Planning
Centralized approach
Requirements for each user view are
merged into a single set of requirements.
A data model is created representing all
user views during the database design
stage.
stage
Centralized Approach to Managing Multiple
User Views
Requirements Collection and Analysis
Building
g data model requires
q answering g
questions about entities, relationships, and
attributes.
Database Design
Data
D t model
d l iis b
built
ilt using
i the
th information
i f ti ini
users’ requirements specification.
Tailored to a specific
p DBMS system.
y
Three-Level ANSI-SPARC Architecture and
Phases of Database Design
DBMS Selection
I
Important characteristics
h i i off transactions:
i
data to be used by the transaction;
functional characteristics of the transaction;
output of the transaction;
importance to the users;
expected rate of usage.
Three main
Th i types
t off transactions:
t ti retrieval,
t i l
update, and mixed.
Prototyping
Purpose
to identify features of a system that work well, or are
inadequate;
q
to suggest improvements or even new features;
to clarify the users’ requirements;
to evaluate feasibility of a particular system design.
Implementation
Physical
Ph i l realization
li i off the
h ddatabase
b and
d application
li i
designs.
Use DDL to create database schemas and empty
database files.
Use DDL to create any specified user views.
Use 3GL or 4GL to create the application programs.This
will include the database transactions implemented
using the DML,
DML possibly embedded in a host
programming language.
Data Conversion and Loading
Transferring
T f i any existing
i i data
d into
i new database
d b
and converting any existing applications to run on
new database.
database