39
Business Intelligence Business Intelligence and Decision Support and Decision Support Systems Systems (9 (9 th th Ed., Prentice Hall) Ed., Prentice Hall) Chapter 8: Chapter 8: Data Warehousing Data Warehousing

Turban Dss9e Ch08

Embed Size (px)

DESCRIPTION

DSS chapter 8

Citation preview

Page 1: Turban Dss9e Ch08

Business Intelligence Business Intelligence and Decision Support and Decision Support

SystemsSystems(9(9thth Ed., Prentice Hall) Ed., Prentice Hall)

Chapter 8:Chapter 8:

Data WarehousingData Warehousing

Page 2: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-2

Learning ObjectivesLearning Objectives Understand the basic definitions and

concepts of data warehouses Learn different types of data warehousing

architectures; their comparative advantages and disadvantages

Describe the processes used in developing and managing data warehouses

Explain data warehousing operations Explain the role of data warehouses in

decision support

Page 3: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-3

Learning ObjectivesLearning Objectives

Explain data integration and the extraction, transformation, and load (ETL) processes

Describe real-time (a.k.a. right-time and/or active) data warehousing

Understand data warehouse administration and security issues

Page 4: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-4

Opening Vignette:Opening Vignette:

“DirecTV Thrives with Active Data Warehousing”

Company backgroundProblem descriptionProposed solutionResultsAnswer & discuss the case questions.

Page 5: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-5

Main Data Warehousing (DW) Main Data Warehousing (DW) TopicsTopics

DW definitions Characteristics of DW Data Marts ODS, EDW, Metadata DW Framework DW Architecture & ETL Process DW Development DW Issues

Page 6: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-6

Data Warehouse DefinedData Warehouse Defined

A physical repository where relational data are specially organized to provide enterprise-wide, cleansed data in a standardized format

“The data warehouse is a collection of integrated, subject-oriented databases design to support DSS functions, where each unit of data is non-volatile and relevant to some moment in time”

Page 7: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-7

Characteristics of DWCharacteristics of DW Subject oriented Integrated Time-variant (time series) Nonvolatile Summarized Not normalized Metadata Web based, relational/multi-dimensional Client/server Real-time and/or right-time (active)

Page 8: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-8

Data MartData Mart

A departmental data warehouse that stores only relevant data

Dependent data mart A subset that is created directly from a data warehouse

Independent data martA small data warehouse designed for a strategic business unit or a department

Page 9: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-9

Data Warehousing DefinitionsData Warehousing Definitions Operational data stores (ODS)

A type of database often used as an interim area for a data warehouse

Oper marts An operational data mart.

Enterprise data warehouse (EDW)A data warehouse for the enterprise.

Metadata Data about data. In a data warehouse, metadata describe the contents of a data warehouse and the manner of its acquisition and use

Page 10: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-10

A Conceptual Framework for DWA Conceptual Framework for DW

DataSources

ERP

Legacy

POS

OtherOLTP/wEB

External data

Select

Transform

Extract

Integrate

Load

ETL Process

EnterpriseData warehouse

Metadata

Replication

A P

I

/ M

iddl

ewar

e Data/text mining

Custom builtapplications

OLAP,Dashboard,Web

RoutineBusinessReporting

Applications(Visualization)

Data mart(Engineering)

Data mart(Marketing)

Data mart(Finance)

Data mart(...)

Access

No data marts option

Page 11: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-11

Generic DW ArchitecturesGeneric DW Architectures

Three-tier architecture1. Data acquisition software (back-end)2. The data warehouse that contains the data

& software3. Client (front-end) software that allows

users to access and analyze data from the warehouse

Two-tier architectureFirst 2 tiers in three-tier architecture is

combined into one

… sometime there is only one tier?

Page 12: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-12

Generic DW ArchitecturesGeneric DW Architectures

Tier 2:Application server

Tier 1:Client workstation

Tier 3:Database server

Tier 1:Client workstation

Tier 2:Application & database server

Page 13: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-13

DW Architecture Considerations DW Architecture Considerations

Issues to consider when deciding which architecture to use: Which database management system

(DBMS) should be used? Will parallel processing and/or

partitioning be used? Will data migration tools be used to load

the data warehouse? What tools will be used to support data

retrieval and analysis?

Page 14: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-14

A Web-based DW ArchitectureA Web-based DW Architecture

WebServer

Client(Web browser)

ApplicationServer

Datawarehouse

Web pages

Internet/Intranet/Extranet

Page 15: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-15

Alternative DW ArchitecturesAlternative DW Architectures

SourceSystems

Staging Area

Independent data marts(atomic/summarized data)

End user access and applications

ETL

(a) Independent Data Marts Architecture

SourceSystems

Staging Area

End user access and applications

ETL

Dimensionalized data marts linked by conformed dimentions

(atomic/summarized data)

(b) Data Mart Bus Architecture with Linked Dimensional Datamarts

SourceSystems

Staging Area

End user access and applications

ETL

Normalized relational warehouse (atomic data)

Dependent data marts(summarized/some atomic data)

(c) Hub and Spoke Architecture (Corporate Information Factory)

Page 16: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-16

Alternative DW ArchitecturesAlternative DW Architectures

SourceSystems

Staging Area

Normalized relational warehouse (atomic/some

summarized data)

End user access and applications

ETL

(d) Centralized Data Warehouse Architecture

End user access and applications

Logical/physical integration of common data elements

Existing data warehousesData marts and legacy systmes

Data mapping / metadata

(e) Federated Architecture

Page 17: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-18

Which Architecture is the Best?Which Architecture is the Best?

Bill Inmon versus Ralph Kimball Enterprise DW versus Data Marts

approach

Empirical study by Ariyachandra and Watson (2006)

Page 18: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-19

Data Warehousing Architectures Data Warehousing Architectures

1. Information interdependence between organizational units

2. Upper management’s information needs

3. Urgency of need for a data warehouse

4. Nature of end-user tasks5. Constraints on resources

6. Strategic view of the data warehouse prior to implementation

7. Compatibility with existing systems

8. Perceived ability of the in-house IT staff

9. Technical issues10.Social/political factors

Ten factors Ten factors thatthat potentially affect the potentially affect the architecture selection decision:architecture selection decision:

Page 19: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-20

Enterprise Data WarehouseEnterprise Data Warehouse(by Teradata Corporation)(by Teradata Corporation)

Page 20: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-21

Data Integration and the Extraction, Data Integration and the Extraction, Transformation, and Load (ETL) Transformation, and Load (ETL) ProcessProcess Data integration

Integration that comprises three major processes: data access, data federation, and change capture.

Enterprise application integration (EAI)A technology that provides a vehicle for pushing data from source systems into a data warehouse

Enterprise information integration (EII) An evolving tool space that promises real-time data integration from a variety of sources

Service-oriented architecture (SOA)A new way of integrating information systems

Page 21: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-22

Extraction, transformation, and load (ETL) process

Data Integration and the Extraction, Data Integration and the Extraction, Transformation, and Load (ETL) Transformation, and Load (ETL) ProcessProcess

Packaged application

Legacy system

Other internal applications

Transient data source

Extract Transform Cleanse Load

Datawarehouse

Data mart

Page 22: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-23

ETL ETL Issues affecting the purchase of and ETL

tool Data transformation tools are expensive Data transformation tools may have a long

learning curve Important criteria in selecting an ETL tool

Ability to read from and write to an unlimited number of data sources/architectures

Automatic capturing and delivery of metadata A history of conforming to open standards An easy-to-use interface for the developer and

the functional user

Page 23: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-24

Benefits of DWBenefits of DW Direct benefits of a data warehouse

Allows end users to perform extensive analysis Allows a consolidated view of corporate data Better and more timely information Enhanced system performance Simplification of data access

Indirect benefits of data warehouse Enhance business knowledge Present competitive advantage Enhance customer service and satisfaction Facilitate decision making Help in reforming business processes

Page 24: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-25

Data Warehouse DevelopmentData Warehouse Development Data warehouse development approaches

Inmon Model: EDW approach (top-down) Kimball Model: Data mart approach (bottom-up) Which model is best?

There is no one-size-fits-all strategy to DW

One alternative is the hosted warehouse

Data warehouse structure: The Star Schema vs. Relational

Real-time data warehousing?

Page 25: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-26

DW Development ApproachesDW Development Approaches

See Table 8.3 for details

(Inmon Approach) (Kimball Approach)

Page 26: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-27

DW Structure: Star SchemaDW Structure: Star Schema(a.k.a. Dimensional Modeling)(a.k.a. Dimensional Modeling)

Claim Information

Driver Automotive

TimeLocation

Start Schema Example for an

Automobile Insurance Data Warehouse

Dimensions:How data will be sliced/diced (e.g., by location, time period, type of automobile or driver)

Facts:Central table that contains (usually summarized) information; also contains foreign keys to access each dimension table.

Page 27: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-28

Dimensional ModelingDimensional Modeling

Data cube Data cube A two-dimensional, three-dimensional, or higher-dimensional object in which each dimension of the data represents a measure of interest -Grain-Drill-down-Slicing

Page 28: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-29

Best Practices for Implementing Best Practices for Implementing DW DW The project must fit with corporate strategy There must be complete buy-in to the project It is important to manage user expectations The data warehouse must be built incrementally Adaptability must be built in from the start The project must be managed by both IT and

business professionals (a business–supplier relationship must be developed)

Only load data that have been cleansed/high quality

Do not overlook training requirements Be politically aware.

Page 29: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-30

Risks in Implementing DW Risks in Implementing DW No mission or objective Quality of source data unknown Skills not in place Inadequate budget Lack of supporting software Source data not understood Weak sponsor Users not computer literate Political problems or turf wars Unrealistic user expectations

(Continued …)

Page 30: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-31

Risks in Implementing DW – Risks in Implementing DW – Cont. Cont. Architectural and design risks Scope creep and changing requirements Vendors out of control Multiple platforms Key people leaving the project Loss of the sponsor Too much new technology Having to fix an operational system Geographically distributed environment Team geography and language culture

Page 31: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-32

Things to Avoid for Successful Things to Avoid for Successful Implementation of DWImplementation of DW Starting with the wrong sponsorship chain Setting expectations that you cannot meet Engaging in politically naive behavior Loading the warehouse with information just

because it is available Believing that data warehousing database

design is the same as transactional DB design Choosing a data warehouse manager who is

technology oriented rather than user oriented(…see more on page 356)

Page 32: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-33

Real-time DWReal-time DW(a.k.a. Active Data Warehousing)(a.k.a. Active Data Warehousing)

Enabling real-time data updates for real-time analysis and real-time decision making is growing rapidly Push vs. Pull (of data)

Concerns about real-time BI Not all data should be updated continuously Mismatch of reports generated minutes

apart May be cost prohibitive May also be infeasible

Page 33: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-34

Evolution of DSS & DWEvolution of DSS & DW

Page 34: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-35

Active Data WarehousingActive Data Warehousing(by Teradata Corporation)(by Teradata Corporation)

Page 35: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-36

Comparing Traditional and Comparing Traditional and Active DWActive DW

Page 36: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-37

Data Warehouse AdministrationData Warehouse Administration Due to its huge size and its intrinsic

nature, a DW requires especially strong monitoring in order to sustain its efficiency, productivity and security.

The successful administration and management of a data warehouse entails skills and proficiency that go past what is required of a traditional database administrator. Requires expertise in high-performance

software, hardware, and networking technologies

Page 37: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-38

DW Scalability and SecurityDW Scalability and Security Scalability

The main issues pertaining to scalability: The amount of data in the warehouse How quickly the warehouse is expected to grow The number of concurrent users The complexity of user queries

Good scalability means that queries and other data-access functions will grow linearly with the size of the warehouse

Security Emphasis on security and privacy

Page 38: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-39

BI / OLAP Portal for LearningBI / OLAP Portal for Learning MicroStrategy, and much more… www.TeradataStudentNetwork.com Password: [**Keyword**]

Page 39: Turban Dss9e Ch08

Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall8-40

End of the ChapterEnd of the Chapter

Questions, comments