CH 2
CH 2
Process
1
Objectives
□ Definition of terms
□ Describe system development life cycle
□ Explain prototyping approach
□ Explain roles of individuals
□ Explain three-schema approach
□ Explain role of packaged data models
□ Explain three-tiered architectures
□ Explain scope of database design projects
□ Draw simple data models
2
Enterprise Data Model
□ First step in database development
□ Specifies scope and general content
□ Overall picture of organizational data at
high level of abstraction
□ Entity-relationship diagram
□ Descriptions of entity types
□ Relationships between entities
□ Business rules
3
Figure 2-1 Segment from enterprise data model
6
Information Systems Planning
(Table 2-1)
7
Identify Strategic Planning
Factors (Table 2-2)
8
Identify Corporate Planning
Objects (Table 2-3)
□ Organizational units–departments
□ Organizational locations
□ Business functions–groups of business
processes
□ Entity types–the things we are trying
to model for the database
□ Information systems–application
programs
9
Figure 2-2 Example of process decomposition of an
order fulfillment function (Pine Valley Furniture)
Decomposition = breaking
large tasks into smaller tasks
in a hierarchical structure
chart
10
Two Approaches to Database
and IS Development
□ SDLC
■ System Development Life Cycle
■ Detailed, well-planned development process
■ Time-consuming, but comprehensive
■ Long development cycle
□ Prototyping
■ Rapid application development (RAD)
■ Cursory attempt at conceptual data modeling
■ Define database during development of initial
prototype
■ Repeat implementation and maintenance
activities with new prototype versions
11
Systems Development Life Cycle
(see also Figures 2.4, 2.5)
Planning
Analysis
Logical Design
Physical Design
Implementation
Maintenance
12
Systems Development Life Cycle
(see also Figures 2.4, 2.5) (cont.)
Purpose–preliminary understanding
Deliverable–request for study
Planning
Planning
Analysis
Logical Design
Logical Design
Physical Design
Database activity–Thorough
and integrated conceptual Implementation
data modeling
Maintenance
14
Systems Development Life Cycle
(see also Figures 2.4, 2.5) (cont.)
Purpose–information requirements elicitation
Planning and structure
Deliverable–detailed design specifications
Analysis
Logical Design
Logical Design
Physical Design
Database activity–
Implementation
logical database design
(transactions, forms,
displays, views, data Maintenance
integrity and security)
15
Systems Development Life Cycle
(see also Figures 2.4, 2.5) (cont.)
Purpose–develop technology and
Planning organizational specifications
Deliverable–program/data
Analysis structures, technology purchases,
organization redesigns
Logical Design
Physical Design
Physical Design
Logical Design
Physical Design
Database activity–
database implementation, Implementation
Implementation
including coded programs,
documentation, Maintenance
installation and conversion
17
Systems Development Life Cycle
(see also Figures 2.4, 2.5) (cont.)
Logical Design
Physical Design
Database activity–
database maintenance, Implementation
performance analysis
and tuning, error Maintenance
Maintenance
corrections
18
Prototyping Database Methodology
Prototyping Database Methodology
(Figure 2.6) (cont.)
Prototyping Database Methodology
(Figure 2.6) (cont.)
21
Prototyping Database Methodology
(Figure 2.6) (cont.)
Prototyping Database Methodology
(Figure 2.6) (cont.)
23
CASE
□ Computer-Aided Software Engineering
(CASE)–software tools providing
automated support for systems
development
□ Three database features:
■ Data modeling–drawing entity-relationship
diagrams
■ Code generation–SQL code for table creation
■ Repositories–knowledge base of enterprise
information
24
Packaged Data Models
□ Model components that can be purchased,
customized, and assembled into full-scale
data models
□ Advantages
■ Reduced development time
■ Higher model quality and reliability
□ Two types:
■ Universal data models
■ Industry-specific data models
25
Managing Projects
□ Business analysts
□ Systems analysts
□ Database analysts and data modelers
□ Users
□ Programmers
□ Database architects
□ Data administrators
□ Project managers
□ Other technical experts
27
Database Schema
□ Physical Schema
■ Physical structures–covered in Chapters 5 and
6
□ Conceptual Schema
■ E-R models–covered in Chapters 3 and 4
□ External Schema
■ User Views
■ Subsets of Conceptual Schema
■ Can be determined from
business-function/data entity matrices
■ DBA determines schema for different users
28
Figure 2-7 Three-schema architecture
Different people
have different
views of the
database…these
are the external
schema
The internal
schema is the
underlying
design and
implementation
Figure 2-8 Developing the three-tiered architecture
30
Figure 2-9 Three-tiered client/server database architecture
31
Pine Valley Furniture
32
Figure 2-12 Four relations (Pine Valley Furniture)
33
Figure 2-12 Four relations (Pine Valley Furniture) (cont.)
34