chapter 2 1 chapter 2: the database development process modern database management jeffrey a....

37
1 Chapter 2 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

Upload: angela-houston

Post on 17-Dec-2015

333 views

Category:

Documents


8 download

TRANSCRIPT

Page 1: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

1Chapter 2

Chapter 2: The Database Development

Process

Modern Database Management

Jeffrey A. Hoffer, Mary B. Prescott,

Fred R. McFadden

Page 2: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

2Chapter 2

Objectives

• Definition of terms• Describe system development life cycle• Explain prototyping approach• Explain agile software development approach• Explain roles of individuals• Explain three-schema approach• Explain role of packaged data models• Explain three-tiered architectures• Draw simple data models

Page 3: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

3Chapter 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

Page 4: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

4Chapter 2

Figure 2-1 Segment from enterprise data model

Enterprise data model describes the high-level entities in an organization and the relationship between these entities

Page 5: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

5Chapter 2

Information Systems Architecture(ISA)

• Conceptual blueprint for organization’s desired information systems structure

• Consists of:– Data (e.g. Enterprise Data Model – simplified ER Diagram)

– Processes – data flow diagrams, process decomposition, etc.

– Data Network – topology diagram (like fig 1.9)

– People – people management using project management tools (Gantt charts, etc.)

– Events and points in time (when processes are performed)

– Reasons for events and rules (e.g. decision tables)

Page 6: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

6Chapter 2

Information Engineering• A data-oriented methodology to create and

maintain information systems• Top-down planning: a generic IS planning

methodology for obtaining a broad understanding of the IS needed by the entire organization

• Four steps to Top-Down planning:– Planning– Analysis– Design– Implementation

Page 7: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

7Chapter 2 77

Page 8: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

8Chapter 2

Information Systems Planning

• Purpose: align information technology with organization’s business strategies

• Three steps:1. Identify strategic planning factors

2. Identify corporate planning objects

3. Develop enterprise model

Page 9: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

9Chapter 2

Identify Strategic Planning Factors

• Organization goals – what we hope to accomplish

• Critical success factors – what MUST work in order for us to survive

• Problem areas – weaknesses we now have

Page 10: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

10Chapter 2

Identify Corporate Planning Objects

• 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

Page 11: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

11Chapter 2

Develop Enterprise Model

• Functional decomposition– Iterative process breaking system description

into finer and finer detail

• Enterprise data model

• Planning matrixes – Describe interrelationships – between planning objects

Page 12: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

12Chapter 2

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

Page 13: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

13Chapter 2

Planning Matrixes

• Describe relationships between planning objects in the organization

• Types of matrixes:– Function-to-data entity– Location-to-function– Unit-to-function– IS-to-data entity– Supporting function-to-data entity– IS-to-business objective

Page 14: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

14Chapter 2

Example business function-to-data entity matrix (Fig. 2-3)

Page 15: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

15Chapter 2

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

Page 16: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

16Chapter 2

Systems Development Life Cycle(see also Figures 2.4, 2.5)

Planning

Analysis

Physical Design

Implementation

Maintenance

Logical Design

Page 17: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

17Chapter 2

Systems Development Life Cycle(see also Figures 2.4, 2.5) (cont.)

Planning

Analysis

Physical Design

Implementation

Maintenance

Logical Design

Planning Purpose––preliminary understandingDeliverable––request for study

Database activity–– enterprise modeling and early conceptual data modeling

Page 18: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

18Chapter 2

Systems Development Life Cycle(see also Figures 2.4, 2.5) (cont.)

Planning

Analysis

Physical Design

Implementation

Maintenance

Logical Design

Analysis

Purpose–thorough requirements analysis and structuringDeliverable–functional system specifications

Database activity–Thorough and integrated conceptual data modeling

Page 19: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

19Chapter 2

Systems Development Life Cycle(see also Figures 2.4, 2.5) (cont.)

Planning

Analysis

Physical Design

Implementation

Maintenance

Logical DesignLogical Design

Purpose–information requirements elicitation and structureDeliverable–detailed design specifications

Database activity– logical database design (transactions, forms, displays, views, data integrity and security)

Page 20: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

20Chapter 2

Systems Development Life Cycle(see also Figures 2.4, 2.5) (cont.)

Planning

Analysis

Physical Design

Implementation

Maintenance

Logical Design

Physical Design

Purpose–develop technology and organizational specificationsDeliverable–program/data structures, technology purchases, organization redesigns

Database activity– physical database design (define database to DBMS, physical data organization, database processing programs)

Page 21: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

21Chapter 2

Systems Development Life Cycle(see also Figures 2.4, 2.5) (cont.)

Planning

Analysis

Physical Design

Implementation

Maintenance

Logical Design

Implementation

Purpose–programming, testing, training, installation, documentingDeliverable–operational programs, documentation, training materials

Database activity– database implementation, including coded programs, documentation, installation and conversion

Page 22: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

22Chapter 2

Systems Development Life Cycle(see also Figures 2.4, 2.5) (cont.)

Planning

Analysis

Physical Design

Implementation

Maintenance

Logical Design

Maintenance

Purpose–monitor, repair, enhanceDeliverable–periodic audits

Database activity– database maintenance, performance analysis and tuning, error corrections

Page 23: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

23Chapter 2

Page 24: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

24Chapter 2

Page 25: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

25Chapter 2

Page 26: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

26Chapter 2

Page 27: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

27Chapter 2

Page 28: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

29Chapter 2

CASE

• Computer-Aided Software Engineering (CASE) – software tools providing automated support for systems development

• Three database features:– Data modeling – entity-relationship diagrams– Code generation – SQL code for table creation– Repositories – knowledge base of enterprise

information

Page 29: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

30Chapter 2

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

Page 30: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

31Chapter 2

Managing Projects• Project – a planned undertaking of related

activities to reach an objective that has a beginning and an end

• Involves use of review points for:– Validation of satisfactory progress– Step back from detail to overall view– Renew commitment of stakeholders

• Incremental commitment – review of systems development project after each development phase with rejustification after each phase

Page 31: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

32Chapter 2

Managing Projects: People Involved

• Systems analysts• Database analysts• Users• Programmers• Database/data administrators• Systems programmers, network

administrators, testers, technical writers

Page 32: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

33Chapter 2

Figure 2-8a Gantt Chart

Shows time estimates of tasks

Page 33: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

34Chapter 2

Figure 2-8b PERT chart

Shows dependencies between tasks

Page 34: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

35Chapter 2

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

Page 35: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

36Chapter 2

Different people have different views of the database…these are the external schema

The internal schema is the underlying design and implementation

Figure 2-7 Three-schema architecture

Page 36: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

37Chapter 2

Figure 2-8 Developing the three-tiered architecture

Page 37: Chapter 2 1 Chapter 2: The Database Development Process Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

38Chapter 2

Figure 2-9 Three-tiered client/server database architecture