Top Banner

of 50

Chap05 Edit

Jun 03, 2018

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 8/12/2019 Chap05 Edit

    1/50

    Chapter 5 Data

    Resource Management

    James A. O'Brien, and George Marakas.ManagementInformation Systems with MISource2007, 8thed. Boston, MA: McGraw-Hill, Inc.,2007. ISBN: 13 9780073323091

  • 8/12/2019 Chap05 Edit

    2/50

    Chapter 5 Data Resource ManagementChapter 5 2

    Logical Data Elements

    data may be logically organized into characters, fields, records,files, and databases

  • 8/12/2019 Chap05 Edit

    3/50

    Chapter 5 Data Resource ManagementChapter 5 3

    Logical Data Elements Character

    A single alphabetic, numeric, or other symbol Field or data item

    Represents an attribute (characteristic or quality)of some entity (object, person, place, event) Example: salary, job title

    Record Grouping of all the fields used to describe the attributes of an

    entity Example: payroll record with name, SSN, pay rate

    File or tableA group of related records

    DatabaseAn integrated collection of logically related

    data elements

  • 8/12/2019 Chap05 Edit

    4/50

    Chapter 5 Data Resource ManagementChapter 5 4

    Electric Utility Database

  • 8/12/2019 Chap05 Edit

    5/50

    Chapter 5 Data Resource ManagementChapter 5 5

    Database Structures

    Common database structuresHierarchicalNetworkRelationalObject-orientedMulti-dimensional

    Database management system (DBMS) packages aredesigned to use a specific data structure to provide endusers with quick, easy access to information stored indatabases.

  • 8/12/2019 Chap05 Edit

    6/50

    Chapter 5 Data Resource ManagementChapter 5 6

    Hierarchical Structure

    Early DBMS structure

    Records arranged in tree-like structure

    Relationships are one-to-many

  • 8/12/2019 Chap05 Edit

    7/50

    Chapter 5 Data Resource ManagementChapter 5 7

    Network Structure

    Used in some mainframe DBMS packagesMany-to-many relationships

  • 8/12/2019 Chap05 Edit

    8/50

    Chapter 5 Data Resource ManagementChapter 5 8

    Relational Structure

    Most widely used structure

    Data elements are stored in tablesRow represents a record; column is a field Can relate data in one file with data in another,

    if both files share a common data element

  • 8/12/2019 Chap05 Edit

    9/50

    Chapter 5 Data Resource ManagementChapter 5 9

    Relational Operations

    SelectCreate a subset of records that meet a stated

    criterionExample: employees earning more than

    $30,000 Join

    Combine two or more tables temporarilyLooks like one big table

    ProjectCreate a subset of columns in a table

    Three basic operations can be performed on a relational database to

    create useful sets of data.

  • 8/12/2019 Chap05 Edit

    10/50

    Chapter 5 Data Resource ManagementChapter 5 10

    Multidimensional Structure Variation of relational modelUses multidimensional structures to

    organize data and express the relationshipsbetween data

    Data elements are viewed as being in cubes You can visualize multidimensional structures as cubes

    of data and cubes within cubes of data. Each side of thecube is considered a dimension of the data

    Popular for analytical databases that supportOnline Analytical Processing (OLAP) in whichfast answers to complex business queries areexpected.

  • 8/12/2019 Chap05 Edit

    11/50

    Chapter 5 Data Resource ManagementChapter 5 11

    Multidimensional Model

  • 8/12/2019 Chap05 Edit

    12/50

    Chapter 5 Data Resource ManagementChapter 5 12

    Object-Oriented Structure

    Anobjectconsists ofData values describing the attributes of an

    entity

    Operations that can be performed on the data This encapsulation capability allows the object-

    oriented model to handle complex types of data(graphics, pictures, voice, and text) more easily

    than other database structures. InheritanceNew objects can be created by replicating

    some or all of the characteristics of parent

    objects

    is considered one of the key technologies of a new generation of

    multimedia Web-based applications.

  • 8/12/2019 Chap05 Edit

    13/50

    Chapter 5 Data Resource ManagementChapter 5 13

    Object-Oriented Structure

    Source: Adapted from Ivar Jacobsen, Maria Ericsson, and Ageneta Jacobsen, The ObjectAdvantage: Business Process Reengineering with Object Technology(New York: ACM Press,1995), p. 65.Copyright @ 1995, Association for Computing Machinery. By permission.

  • 8/12/2019 Chap05 Edit

    14/50

    Chapter 5 Data Resource ManagementChapter 5 14

    Object-Oriented Structure

    Used in object-oriented database managementsystems (OODBMS)

    Supports complex data types more efficiently

    than relational databasesExample: graphic images, video clips,

    web pages Examples include multimedia object extensions to IBMs

    DB2 and Oracles object-based cartridges for Oracle10g.

  • 8/12/2019 Chap05 Edit

    15/50

    Chapter 5 Data Resource ManagementChapter 5 15

    Evaluation of Database Structures HierarchicalWorks for structured, routine transactionsCant handle many-to-many relationship

    NetworkMore flexible than hierarchicalUnable to handle ad hoc requests

    Relational

    Easily responds to ad hoc requestsEasier to work with and maintainNot as efficient/quick as hierarchical or network

  • 8/12/2019 Chap05 Edit

    16/50

    The major limitation of the relational model is thatrelational database management systems cannotprocess large amounts of business transactions asquickly and efficiently as those based on the hierarchical

    and network models

    Chapter 5 Data Resource ManagementChapter 5 16

  • 8/12/2019 Chap05 Edit

    17/50

    Chapter 5 Data Resource ManagementChapter 5 17

    Database Development

    Database Administrator (DBA) In charge of enterprise database development Improves the integrity and security of

    organizational databasesUses Data Definition Language (DDL) to

    develop and specify data contents,relationships, and structure

    Stores these specifications in a datadictionary or a metadata repository

  • 8/12/2019 Chap05 Edit

    18/50

    Chapter 5 Data Resource ManagementChapter 5 18

    Data Dictionary

    A data dictionaryContains data about data (metadata)Relies on specialized software component to

    manage a database of data definitions It contains information on..The names and descriptions of all types of

    data records and their interrelationships

    Requirements for end users access and useof application programs

    Database maintenanceSecurity

  • 8/12/2019 Chap05 Edit

    19/50

    Chapter 5 Data Resource ManagementChapter 5 19

    Database Development

  • 8/12/2019 Chap05 Edit

    20/50

    Chapter 5 Data Resource ManagementChapter 5 20

    Data Planning Process

    Database development is a top-down processDevelop an enterprise model that defines the

    basic business process of the enterprise

    Define the information needs of end users ina business process Identify the key data elements that are

    needed to perform specific business activities

    (entity relationship diagrams)

  • 8/12/2019 Chap05 Edit

    21/50

    Chapter 5 Data Resource ManagementChapter 5 21

    Entity Relationship Diagram

  • 8/12/2019 Chap05 Edit

    22/50

    Chapter 5 Data Resource ManagementChapter 5 22

    Database Design Process

    Data relationships are represented in a data model thatsupports a business process This model is the schemaor subschemaon which to

    base The physical design of the database The development of application programs to support

    business processes Logical Design

    Schema - overall logical view of relationships

    Subschema - logical view for specific end usersData models for DBMS

    Physical Design How data are to be physically stored and

    accessed on storage devices

  • 8/12/2019 Chap05 Edit

    23/50

    Chapter 5 Data Resource ManagementChapter 5 23

    Logical and Physical Database Views

  • 8/12/2019 Chap05 Edit

    24/50

    Chapter 5 Data Resource ManagementChapter 5 24

    Data Resource Management

    Data resource management is a managerial activityUses data management, data warehousing,

    and other IS technologiesManages data resources to meet the information

    needs of business stakeholders Data stewards

    Dedicated to establishing and maintaining thequality of data

    Need business, technology, and diplomatic skillsFocus on data content

    Judgment is a big part of the job

  • 8/12/2019 Chap05 Edit

    25/50

    Chapter 5 Data Resource ManagementChapter 5 25

    Types of Databases

  • 8/12/2019 Chap05 Edit

    26/50

    Chapter 5 Data Resource ManagementChapter 5 26

    Operational Databases

    Stores detailed data needed to support businessprocesses and operationsAlso called subject area databases(SADB),

    transaction databases, and productiondatabasesDatabase examples: customer, human

    resource, inventory

  • 8/12/2019 Chap05 Edit

    27/50

    Chapter 5 Data Resource ManagementChapter 5 27

    Distributed Databases Distributed databases are copies or parts of databases stored on

    servers at multiple locations Improves database performance at worksites

    Advantages Protection of valuable data Data can be distributed into smaller databases

    Each location has control of its local data All locations can access any data, any where

    Disadvantages Maintaining data accuracy

    Replication Look at each distributed database and find changes

    Apply changes to each distributed database Very complex

    Duplication One database is master Duplicate the master after hours, in all locations

    Easier to accomplish

  • 8/12/2019 Chap05 Edit

    28/50

    Chapter 5 Data Resource ManagementChapter 5 28

    External Databases

    Databases available for a fee from commercialonline services, or free from the WebExample: hypermedia databases, statistical

    databases, bibliographic and full textdatabasesSearch engines like Google or Yahoo are

    external databases

  • 8/12/2019 Chap05 Edit

    29/50

    Chapter 5 Data Resource ManagementChapter 5 29

    Hypermedia Databases

    A hypermedia database containsHyperlinked pages of multimedia Interrelated hypermedia page elements,

    rather than interrelated data records

  • 8/12/2019 Chap05 Edit

    30/50

    Chapter 5 Data Resource ManagementChapter 5 30

    Components of Web-Based

    System

  • 8/12/2019 Chap05 Edit

    31/50

    Chapter 5 Data Resource ManagementChapter 5 31

    Data Warehouses

    Stores static data that has been extracted fromother databases in an organizationCentral source of data that has been cleaned,

    transformed, and catalogedData is used for data mining, analytical

    processing, analysis, research, decision support Data warehouses may be divided into data martsSubsets of data that focus on specific aspects

    of a company (department or business process)

  • 8/12/2019 Chap05 Edit

    32/50

    Chapter 5 Data Resource ManagementChapter 5 32

    Data Warehouse Components

  • 8/12/2019 Chap05 Edit

    33/50

    Chapter 5 Data Resource ManagementChapter 5 33

    Applications and Data Marts

  • 8/12/2019 Chap05 Edit

    34/50

    Chapter 5 Data Resource ManagementChapter 5 34

    Data Mining

    Data in data warehouses are analyzed to revealhidden patterns and trendsMarket-basket analysis to identify new

    product bundlesFind root cause of qualify or manufacturing

    problemsPrevent customer attrition

    Acquire new customersCross-sell to existing customersProfile customers with more accuracy

  • 8/12/2019 Chap05 Edit

    35/50

    Chapter 5 Data Resource ManagementChapter 5 35

    Traditional File Processing

    Data are organized, stored, and processed inindependent filesEach business application designed to use

    specialized data files containing specifictypes of data records

    ProblemsData redundancy

    Lack of data integrationData dependence (files, storage devices,software)

    Lack of data integrity or standardization

  • 8/12/2019 Chap05 Edit

    36/50

    Chapter 5 Data Resource ManagementChapter 5 36

    Traditional File Processing

  • 8/12/2019 Chap05 Edit

    37/50

    Chapter 5 Data Resource ManagementChapter 5 37

    Database Management

    Approach The foundation of modern methods of managing

    organizational dataConsolidates data records formerly in

    separate files into databasesData can be accessed by many different

    application programs

    A database management system (DBMS) isthe software interface between users anddatabases

  • 8/12/2019 Chap05 Edit

    38/50

    Chapter 5 Data Resource ManagementChapter 5 38

    Database Management

    Approach

  • 8/12/2019 Chap05 Edit

    39/50

    Chapter 5 Data Resource ManagementChapter 5 39

    Database Management System

    In mainframe and server computer systems, asoftware package that is used toCreatenew databases and database

    applicationsMaintainthe quality of the data in an

    organizations databasesUsethe databases of an organization to

    provide the information needed by end users

  • 8/12/2019 Chap05 Edit

    40/50

    Chapter 5 Data Resource ManagementChapter 5 40

    Common DBMS Software

    Components Database definitionLanguage and graphical tools to define

    entities, relationships, integrity constraints,and authorization rights

    Nonprocedural accessLanguage and graphical tools to access data

    without complicated coding Application developmentGraphical tools to develop menus, data entry

    forms, and reports

  • 8/12/2019 Chap05 Edit

    41/50

    Chapter 5 Data Resource ManagementChapter 5 41

    Common DBMS Software

    Components Procedural language interfaceLanguage that combines nonprocedural access

    with full capabilities of a programming language Transaction processingControl mechanism prevents interference from

    simultaneous users and recovers lost data after

    a failure

    Database tuningTools to monitor, improve database performance

  • 8/12/2019 Chap05 Edit

    42/50

    Chapter 5 Data Resource ManagementChapter 5 42

    Database Management System

    Database DevelopmentDefining and organizing the content,

    relationships, and structure of the data neededto build a database

    Database Application DevelopmentUsing DBMS to create prototypes of queries,

    forms, reports, Web pages

    Database MaintenanceUsing transaction processing systems and

    other tools to add, delete, update, and correctdata

  • 8/12/2019 Chap05 Edit

    43/50

    Chapter 5 Data Resource ManagementChapter 5 43

    DBMS Major Functions

  • 8/12/2019 Chap05 Edit

    44/50

    Chapter 5 Data Resource ManagementChapter 5 44

    Database Interrogation

    End users use a DBMS query feature or reportgenerator

    Response is video display or printed report

    No programming is required Query language

    Immediate response to ad hoc data requests

    Report generatorQuickly specify a format for information you

    want to present as a report

  • 8/12/2019 Chap05 Edit

    45/50

    Chapter 5 Data Resource ManagementChapter 5 45

    Database Interrogation

    SQL QueriesStructured, international standard query

    language found in many DBMS packages

    Query form is SELECTFROMWHERE

  • 8/12/2019 Chap05 Edit

    46/50

    Chapter 5 Data Resource ManagementChapter 5 46

    Database Interrogation

    Boolean LogicDeveloped by George Boole in the mid-1800sUsed to refine searches to specific

    informationHas three logical operators: AND, OR, NOT

    ExampleCats OR felines AND NOT dogs OR

    Broadway

  • 8/12/2019 Chap05 Edit

    47/50

    Chapter 5 Data Resource ManagementChapter 5 47

    Database Interrogation

    Graphical and Natural Queries It is difficult to correctly phrase SQL and other

    database language search queries

    Most DBMS packages offer easier-to-use,point-and-click methodsTranslates queries into SQL commandsNatural language query statements are similar

    to conversational English

  • 8/12/2019 Chap05 Edit

    48/50

    Chapter 5 Data Resource ManagementChapter 5 48

    Graphical Query Wizard

  • 8/12/2019 Chap05 Edit

    49/50

    Chapter 5 Data Resource ManagementChapter 5 49

    Database Maintenance

    Accomplished by transaction processingsystems and other applications, with the supportof the DBMS

    Done to reflect new business transactions andother eventsUpdating and correcting data, such as

    customer addresses

  • 8/12/2019 Chap05 Edit

    50/50

    Application Development

    Use DBMS software development tools todevelop custom application programsNot necessary to develop detailed data-

    handling procedures using conventionalprogramming languagesCan include data manipulation language

    (DML) statements that call on the DBMS to

    perform necessary data handling