Adapted From Jeffery A. Hoffer's Modern Database Management, 12 Edition Lecture # 4 The Database Approach
Adapted From Jeffery A. Hoffer's Modern Database Management, 12 Edition Lecture # 4 The Database Approach
Adapted From Jeffery A. Hoffer's Modern Database Management, 12 Edition Lecture # 4 The Database Approach
Hoffer’s
Modern Database Management, 12th Edition
Lecture # 4
The Database Approach
1
The Database Approach
• How do we overcome the flaws of FPSs?
– Database Approach
• Core concepts to understand database approach
– Data models
– Entities
– Relationships
– Relational database
– Database management system
– Advantages of database approach
The Database Approach
• Central repository of shared data
• Data is managed by a controlling agent
• Stored in a standardized, convenient form
• Requires a Database Management System (DBMS)
• Emphasises the integration & sharing of data
across the organisation
• Data-driven vs Process-driven design
– File processing systems - process driven
– DBSs emphasis on data-driven approach
Process-driven vs Data-driven
First identify & analyse
organisational processes Focus on entities t/things
Requirements Analysis organisation must manage Requirements Analysis
use DFDs to describe
(e.g. products).
processes & data flows
Identify the properties of
between them.
the entities & relationships
Work backward from
between them & the rules
required outputs to Process Design Database Design
that govern how these entities
determine the required
are managed or used.
inputs. Use flowcharts
After creating suitable models
to specify the logic for
of the data structures and the
conversion of inputs to
Data Design related business rules, develop Process Design
outputs.
the applications required to
Finally design files as a
manage the data.
by-product of process
design.
Implementation Implementation
Data-driven
Process-driven
Application
DBMS
#2
Database
containing
centralized
shared data
Application
#3 DBMS manages data
resources like an operating
system manages hardware
resources
The Database Approach
File Processing System
VS
Data Base Approach
22
The Database Approach
• Advantages of Database Approach
The Database Approach
• Costs and Risks of the database approach