Chapter 1
Chapter 1
Chapter 1
Introduction
Chapter 1: The Database Environment
Marcus Rothenberger
Definitions
Program-Data Dependence
⚫ All programs maintain metadata for each file they use
Duplication of Data
⚫ Different systems/programs have separate copies of the
same data
Limited Data Sharing
⚫ No centralized control of data
Lengthy Development Times
⚫ Programmers must design their own file formats
Excessive Program Maintenance
⚫ 80% of of information systems budget
Three file processing systems
at Pine Valley Furniture
Duplicate Data
Database Management System
DBMS manages data resources like an operating system manages hardware resources
The Database Approach
• Data models
– Graphical diagram capturing nature and relationship of data
– Enterprise Data Model – high-level entities and relationships
for the organization
– Project Data Model – more detailed view, matching data
structure in database or data warehouse
• Entities
– Noun form describing a person, place, object, event, or
concept
– Composed of attributes
• Relationships
– Between entities
– Usually one-to –many (1:N) or many-to-many (M:N), but can
also be one-to-one (1:1)
Figure 1-3 Comparison of Enterprise- and
Project-Level Data Models
(a) Segment of an (b) Segment of a project data
enterprise data model model
The Database Approach
Relational Databases
Database technology involving tables (relations) representing
entities and primary/foreign keys representing relationships (see
Figure 1-17)
Costs and Risks of the Database
Approach
New, specialized personnel
Installation and management cost and
complexity
Conversion costs
Need for explicit backup and recovery
Organizational conflict
From Figure 1-8 Database Development
Activities During the SDLC
Database Project Team Members
(1 of 2)