Chap 02 Corrected

download Chap 02 Corrected

of 37

Transcript of Chap 02 Corrected

  • 7/29/2019 Chap 02 Corrected

    1/37

    Chapter 2

    apter :

    The Database

    Development Process

    Modern Database Management

    8th Edition

    Jeffrey A. Hoffer, Mary B. Prescott,

    Fred R. McFadden2

    007byPrenticeHall

    FAROOQ

    1

  • 7/29/2019 Chap 02 Corrected

    2/37

    Chapter 2

    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

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    3/37

    Chapter 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

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    4/37

    Chapter 2

    4

    Figure 2-1 Segment from enterprise data model

    Enterprise data model

    describes the high-

    level entities in an

    organization and therelationship between

    these entities

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    5/37

    Chapter 2

    Information Systems Architecture

    (ISA)

    Conceptual blueprint for organizations desiredinformation systems structure

    Consists of: Data (e.g. Enterprise Data Modelsimplified ER Diagram)

    Processesdata flow diagrams, process decomposition, etc.

    Data Networktopology diagram (like Fig 1-9)

    Peoplepeople management using project managementtools (Gantt charts, etc.)

    Events and points in time (when processes are performed)

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

    5

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    6/37

    Chapter 2

    Information Engineering

    A data-oriented methodology to create andmaintain information systems

    Top-down planninga generic IS planningmethodology for obtaining a broad understandingof the IS needed by the entire organization

    Four steps to Top-Down planning: Planning

    Analysis

    Design

    Implementation

    6

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    7/37

    Chapter 2

    Information Systems Planning

    (Table 2-1)

    Purposealign information technology with

    organizations business strategies

    Three steps:1. Identify strategic planning factors

    2. Identify corporate planning objects

    3.Develop enterprise model

    7

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    8/37

    Chapter 2

    Identify Strategic Planning Factors

    (Table 2-2)

    Organization goalswhat we hope to accomplish

    Critical success factorswhat MUST work in order for us to

    survive

    Problem areasweaknesses we now have

    8

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    9/37

    Chapter 2

    Identify Corporate Planning

    Objects (Table 2-3) Organizational unitsdepartments

    Organizational locations

    Business functionsgroups of business processes Entity typesthe things we are trying to model for the database

    Information systemsapplication programs

    9

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    10/37

    Chapter 2

    Develop Enterprise Model

    Functional decomposition

    Iterative process breaking system description into finer and finerdetail

    Enterprise data model

    Planning matrixes

    Describe interrelationships

    between planning objects

    10

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    11/37

    Chapter 2

    11

    Figure 2-2 Example of process decomposition of anorder fulfillment function (Pine Valley Furniture)

    Decomposition = breaking

    large tasks into smaller tasks

    in a hierarchical structure

    chart

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    12/37

    Chapter 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

    12

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    13/37

    Chapter 2

    Example business function-to-data

    entity matrix (Fig. 2-3)

    13

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    14/37

    Chapter 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

    14

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    15/37

    Chapter 2

    Systems Development Life Cycle

    (see also Figures 2.4, 2.5)

    15

    Planning

    Analysis

    Physical Design

    Implementation

    Maintenance

    Logical Design

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    16/37

    Chapter 2

    Systems Development Life Cycle

    (see also Figures 2.4, 2.5) (cont.)

    16

    Planning

    Analysis

    Physical Design

    Implementation

    Maintenance

    Logical Design

    Planning Purposepreliminary understanding

    Deliverablerequest for study

    Database activity

    enterprise modeling and

    early conceptual data

    modeling

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    17/37

    Chapter 2

    Systems Development Life Cycle

    (see also Figures 2.4, 2.5) (cont.)

    17

    Planning

    Analysis

    Physical Design

    Implementation

    Maintenance

    Logical Design

    Analysis

    Purpose

    thorough requirements analysis and

    structuring

    Deliverablefunctional system specifications

    Database activity

    Thoroughand integrated conceptual

    data modeling

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    18/37

    Chapter 2

    Systems Development Life Cycle

    (see also Figures 2.4, 2.5) (cont.)

    18

    Planning

    Analysis

    Physical Design

    Implementation

    Maintenance

    Logical DesignLogical Design

    Purpose

    information requirements elicitationand structure

    Deliverabledetailed design specifications

    Database activity

    logical database design

    (transactions, forms,

    displays, views, data

    integrity and security)

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    19/37

    Chapter 2

    Systems Development Life Cycle

    (see also Figures 2.4, 2.5) (cont.)

    19

    Planning

    Analysis

    Physical Design

    Implementation

    Maintenance

    Logical Design

    Physical Design

    Purpose

    develop technology and

    organizational specifications

    Deliverableprogram/data

    structures, technology purchases,

    organization redesigns

    Database activity

    physical database design (define

    database to DBMS, physical

    data organization, database

    processing programs)

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    20/37

    Chapter 2

    Systems Development Life Cycle

    (see also Figures 2.4, 2.5) (cont.)

    20

    Planning

    Analysis

    Physical Design

    Implementation

    Maintenance

    Logical Design

    Implementation

    Purpose

    programming, testing, training,installation, documenting

    Deliverableoperational programs,

    documentation, training materials

    Database activity

    database implementation,

    including coded programs,

    documentation,

    installation and conversion

    2

    007byPrenticeHall

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    21/37

    Chapter 2

    Systems Development Life Cycle

    (see also Figures 2.4, 2.5) (cont.)

    21

    Planning

    Analysis

    Physical Design

    Implementation

    Maintenance

    Logical Design

    Maintenance

    Purposemonitor, repair, enhance

    Deliverableperiodic audits

    Database activity

    database maintenance,

    performance analysis

    and tuning, error

    corrections

    2

    007byPrenticeHa

    ll

    FAROOQ

    P t t i D t b M th d l

  • 7/29/2019 Chap 02 Corrected

    22/37

    Chapter 2

    22

    Prototyping Database Methodology(Figure 2.6)

    2

    007byPrenticeHa

    ll

    FAROOQ

    Prototyping Database Methodology

  • 7/29/2019 Chap 02 Corrected

    23/37

    Chapter 2

    23

    Prototyping Database Methodology

    (Figure 2.6) (cont.)

    2

    007byPrenticeHa

    ll

    FAROOQ

    Prototyping Database Methodology

  • 7/29/2019 Chap 02 Corrected

    24/37

    Chapter 2

    24

    Prototyping Database Methodology

    (Figure 2.6) (cont.)

    2

    007byPrenticeHa

    ll

    FAROOQ

    Prototyping Database Methodology

  • 7/29/2019 Chap 02 Corrected

    25/37

    Chapter 2

    25

    Prototyping Database Methodology

    (Figure 2.6) (cont.)

    2

    007byPrenticeHa

    ll

    FAROOQ

    Prototyping Database Methodology

  • 7/29/2019 Chap 02 Corrected

    26/37

    Chapter 2

    26

    Prototyping Database Methodology

    (Figure 2.6) (cont.)

    2

    007byPrenticeHa

    ll

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    27/37

    Chapter 2

    CASE

    Computer-Aided Software Engineering (CASE)software tools providingautomated support for systems development

    Three database features:

    Data modelingdrawing entity-relationship diagrams

    Code generationSQL code for table creation Repositoriesknowledge base of enterprise information

    27

    2

    007byPrenticeHa

    ll

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    28/37

    Chapter 2

    Packaged Data Models

    Model components that can be purchased,customized, and assembled into full-scale datamodels

    Advantages

    Reduced development time

    Higher model quality and reliability

    Two types:

    Universal data models Industry-specific data models

    28

    2

    007byPrenticeHa

    ll

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    29/37

    Chapter 2

    Managing Projects Projecta 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 commitmentreview of systems development project

    after each development phase with rejustification after each phase

    29

    2

    007byPrenticeHa

    ll

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    30/37

    Chapter 2

    Managing Projects: People Involved

    Business analysts Systems analysts

    Database analysts and data modelers

    Users Programmers

    Database architects

    Data administrators

    Project managers

    Other technical experts30

    2

    007byPrenticeHa

    ll

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    31/37

    Chapter 2

    Database Schema

    Physical Schema Physical structurescovered in Chapters 5 and 6

    Conceptual Schema

    E-R modelscovered in Chapters 3 and 4 External Schema

    User Views

    Subsets of Conceptual Schema

    Can be determined from business-function/data entitymatrices

    DBA determines schema for different users

    31

    2

    007byPrenticeHa

    ll

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    32/37

    Chapter 2

    32

    Different people

    have differentviews of the

    databasethese

    are the external

    schema

    The internal

    schema is the

    underlying

    design andimplementation

    Figure 2-7 Three-schema architecture

    2

    007byPrenticeHa

    ll

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    33/37

    Chapter 2

    33

    Figure 2-8 Developing the three-tiered architecture

    2

    007byPrenticeHa

    ll

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    34/37

    Chapter 2

    34

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

    2

    007byPrenticeHa

    ll

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    35/37

    Chapter 2

    Pine Valley Furniture

    35Segment of project data model (Figure 2-11)

    2

    007byPrenticeHa

    ll

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    36/37

    Chapter 2

    36

    Figure 2-12 Four relations (Pine Valley Furniture)

    2

    007byPrenticeHa

    ll

    FAROOQ

  • 7/29/2019 Chap 02 Corrected

    37/37

    Ch t 2

    37

    Figure 2-12 Four relations (Pine Valley Furniture) (cont.)

    2

    007byPrenticeHa

    ll

    FAROOQ