SlideShare a Scribd company logo
1 of 45
A.Y. 2022 – 2023 2nd Semester – Evaluation of Business Performance
1
LESSON 1:
DATA
WAREHOUSING
Chapter 9 2
Copyright © 2014 Pearson Education, Inc.
OBJECTIVES
 Define terms
 Explore reasons for information gap
between information needs and availability
 Understand reasons for need of data
warehousing
 Describe three levels of data warehouse
architectures
 Describe two components of star schema
 Estimate fact table size
 Design a data mart
 Develop requirements for a data mart
2
Chapter 9 3
Copyright © 2014 Pearson Education, Inc.
DEFINITIONS
 Data Warehouse
 A subject-oriented, integrated, time-variant, non-
updatable collection of data used in support of
management decision-making processes
 Subject-oriented: e.g. customers, patients,
students, products
 Integrated: consistent naming conventions,
formats, encoding structures; from multiple data
sources
 Time-variant: can study trends and changes
 Non-updatable: read-only, periodically refreshed
 Data Mart
 A data warehouse that is limited in scope
3
Chapter 9 4
Copyright © 2014 Pearson Education, Inc.
HISTORY LEADING TO DATA
WAREHOUSING
 Improvement in database technologies,
especially relational DBMSs
 Advances in computer hardware, including
mass storage and parallel architectures
 Emergence of end-user computing with
powerful interfaces and tools
 Advances in middleware, enabling
heterogeneous database connectivity
 Recognition of difference between
operational and informational systems
4
Chapter 9 5
Copyright © 2014 Pearson Education, Inc.
NEED FOR DATA WAREHOUSING
 Integrated, company-wide view of high-
quality information (from disparate
databases)
 Separation of operational and
informational systems and data (for
improved performance)
5
Chapter 9 6
Copyright © 2014 Pearson Education, Inc.
ISSUES WITH COMPANY-WIDE VIEW
Inconsistent key structures
Synonyms
Free-form vs. structured fields
Inconsistent data values
Missing data
See figure 9-1 for example
6
7
Figure 9-1
Examples of
heterogeneous
data
Chapter 9 7
Copyright © 2014 Pearson Education, Inc.
Chapter 9 8
Copyright © 2014 Pearson Education, Inc.
ORGANIZATIONAL TRENDS
MOTIVATING DATA WAREHOUSES
 No single system of records
 Multiple systems not synchronized
 Organizational need to analyze
activities in a balanced way
 Customer relationship management
 Supplier relationship management
8
Chapter 9 9
Copyright © 2014 Pearson Education, Inc.
SEPARATING OPERATIONAL AND
INFORMATIONAL SYSTEMS
 Operational system – a system that is used
to run a business in real time, based on
current data; also called a system of record
 Informational system – a system designed
to support decision making based on
historical point-in-time and prediction data for
complex queries or data-mining applications
9
Chapter 9 10
Copyright © 2014 Pearson Education, Inc.
10
Chapter 9 11
Copyright © 2014 Pearson Education, Inc.
DATA WAREHOUSE ARCHITECTURES
Independent Data Mart
Dependent Data Mart and
Operational Data Store
Logical Data Mart and Real-Time
Data Warehouse
Three-Layer architecture
11
All involve some form of extract, transform and load (ETL)
12
Figure 9-2 Independent data mart
data warehousing architecture
Data marts:
Mini-warehouses, limited in scope
E
T
L
Separate ETL for each
independent data mart
Data access complexity
due to multiple data marts
Chapter 9 12
Copyright © 2014 Pearson Education, Inc.
13
Figure 9-3 Dependent data mart with
operational data store: a three-level architecture
E
T
L
Single ETL for
enterprise data warehouse (EDW)
Simpler data access
ODS provides option for
obtaining current data
Dependent data marts
loaded from EDW
Chapter 9 13
Copyright © 2014 Pearson Education, Inc.
14
E
T
L
Near real-time ETL for
Data Warehouse
ODS and data warehouse
are one and the same
Data marts are NOT separate databases,
but logical views of the data warehouse
 Easier to create new data marts
Figure 9-4 Logical data mart and real
time warehouse architecture
Chapter 9 14
Copyright © 2014 Pearson Education, Inc.
15
Chapter 9 15
Copyright © 2014 Pearson Education, Inc.
16
Figure 9-5 Three-layer data architecture for a data warehouse
Chapter 9 16
Copyright © 2014 Pearson Education, Inc.
Chapter 9 17
Copyright © 2014 Pearson Education, Inc.
DATA CHARACTERISTICS
STATUS VS. EVENT DATA
17
Status
Status
Event = a
database action
(create/ update/
delete) that
results from a
transaction
Figure 9-6
Example of DBMS
log entry
Chapter 9 18
Copyright © 2014 Pearson Education, Inc.
With transient
data, changes
to existing
records are
written over
previous
records, thus
destroying the
previous data
content
Figure 9-7
Transient
operational data
DATA CHARACTERISTICS
STATUS VS. EVENT DATA
Chapter 9 19
Copyright © 2014 Pearson Education, Inc.
19
Periodic data
are never
physically
altered or
deleted once
they have been
added to the
store
Figure 9-8 Periodic
warehouse data
DATA CHARACTERISTICS
STATUS VS. EVENT DATA
Chapter 9 20
Copyright © 2014 Pearson Education, Inc.
OTHER DATA WAREHOUSE CHANGES
 New descriptive attributes
 New business activity attributes
 New classes of descriptive attributes
 Descriptive attributes become more
refined
 Descriptive data are related to one
another
 New source of data
20
Chapter 9 21
Copyright © 2014 Pearson Education, Inc.
DERIVED DATA
 Objectives
 Ease of use for decision support applications
 Fast response to predefined user queries
 Customized data for particular target audiences
 Ad-hoc query support
 Data mining capabilities
 Characteristics
 Detailed (mostly periodic) data
 Aggregate (for summary)
 Distributed (to departmental servers)
21
Most common data model = dimensional model
(usually implemented as a star schema)
22
Figure 9-9 Components of a star schema
Fact tables contain factual
or quantitative data
Dimension tables contain descriptions
about the subjects of the business
1:N relationship between
dimension tables and fact tables
Excellent for ad-hoc queries, but bad for online transaction processing
Dimension tables are denormalized to
maximize performance
Chapter 9 22
Copyright © 2014 Pearson Education, Inc.
23
Figure 9-10 Star schema example
Fact table provides statistics for sales
broken down by product, period and
store dimensions
Chapter 9 23
Copyright © 2014 Pearson Education, Inc.
24
Figure 9-11 Star schema with sample data
Chapter 9 24
Copyright © 2014 Pearson Education, Inc.
Chapter 9 25
Copyright © 2014 Pearson Education, Inc.
SURROGATE KEYS
 Dimension table keys should be surrogate
(non-intelligent and non-business related),
because:
Business keys may change over time
Helps keep track of nonkey attribute
values for a given production key
Surrogate keys are simpler and shorter
Surrogate keys can be same length and
format for all key
25
Chapter 9 26
Copyright © 2014 Pearson Education, Inc.
GRAIN OF THE FACT TABLE
 Granularity of Fact Table–what level of
detail do you want?
Transactional grain–finest level
Aggregated grain–more summarized
Finer grains  better market basket
analysis capability
Finer grain  more dimension tables,
more rows in fact table
In Web-based commerce, finest
granularity is a click
26
Chapter 9 27
Copyright © 2014 Pearson Education, Inc.
DURATION OF THE DATABASE
 Natural duration–13 months or 5 quarters
 Financial institutions may need longer duration
 Older data is more difficult to source and cleanse
27
Chapter 9 28
Copyright © 2014 Pearson Education, Inc.
SIZE OF FACT TABLE
 Depends on the number of dimensions and the grain
of the fact table
 Number of rows = product of number of possible
values for each dimension associated with the fact
table
 Example: assume the following for Figure 9-11:
 Total rows calculated as follows (assuming only half
the products record sales for a given month):
28
Chapter 9 29
Copyright © 2014 Pearson Education, Inc.
29
Figure 9-12 Modeling dates
Fact tables contain time-period data
 Date dimensions are important
Chapter 9 30
Copyright © 2014 Pearson Education, Inc.
VARIATIONS OF THE STAR SCHEMA
 Multiple Facts Tables
 Can improve performance
 Often used to store facts for different combinations of
dimensions
 Conformed dimensions
 Hierarchies
 Sometimes a dimension forms a natural, fixed depth
hierarchy
 Design options
 Include all information for each level in a single denormalized
table
 Normalize the dimension into a nested set of 1:M table
relationships 30
Chapter 9 31
Copyright © 2014 Pearson Education, Inc.
31
Figure 9-13 Conformed dimensions
Conformed
dimension
Associated with
multiple fact
tables
Two fact tables  two (connected) start schemas.
Chapter 9 32
Copyright © 2014 Pearson Education, Inc.
32
Figure 9-14 Fixed product hierarchy
Dimension hierarchies help to provide levels of
aggregation for users wanting summary information
in a data warehouse
Chapter 9 33
Copyright © 2014 Pearson Education, Inc.
SLOWLY CHANGING DIMENSIONS (SCD)
 How to maintain knowledge of the past
 Kimble’s approaches:
 Type 1: just replace old data with new (lose
historical data)
 Type 3: for each changing attribute, create a
current value field and several old-valued fields
(multivalued)
 Type 2: create a new dimension table row each
time the dimension object changes, with all
dimension characteristics at the time of change.
Most common approach.
33
Chapter 9 34
Copyright © 2014 Pearson Education, Inc.
34
Figure 9-16 Example of Type 2 SCD Customer dimension table
The dimension table contains several records for the same
customer. The specific customer record to use depends on the
key and the date of the fact, which should be between start
and end dates of the SCD customer record.
Chapter 9 35
Copyright © 2014 Pearson Education, Inc.
10 ESSENTIAL RULES FOR
DIMENSIONAL MODELING
 Use atomic facts
 Create single-process
fact tables
 Include a date
dimension for each fact
table
 Enforce consistent
grain
 Disallow null keys in
fact tables
 Honor hierarchies
 Decode dimension tables
 Use surrogate keys
 Conform dimensions
 Balance requirements
with actual data
35
Chapter 9 36
Copyright © 2014 Pearson Education, Inc.
 Big Data = databases whose volume, velocity, and variety
strain the ability of relational DBMSs to capture, manage,
and process data in a timely fashion
 Issue of Big Data
 huge volume
 often unstructured (text, images, RFID, etc.)
 Columnar databases
 Column-based (rather than relational DB, which are row-based)
 optimize storage for summary data of few columns (different need than
OLTP)
 Data compression
 Sybase, Vertica, Infobright
36
BIG DATA AND COLUMNAR DATABASES
Chapter 9 37
Copyright © 2014 Pearson Education, Inc.
 “Not only SQL”
 a class of database technology used to store and
access textual and other unstructured data, using
more flexible structures than the rows and columns
format of relational databases
 Example NoSql languages: Unstructured Query
Language (UQL), XQuery (for XML data)
 Example NoSql engines: Cassandra (used by
Facebook), Hadoop and MapReduce
37
NOSQL
Chapter 9 38
Copyright © 2014 Pearson Education, Inc.
THE USER INTERFACE
METADATA (DATA CATALOG)
 Identify subjects of the data mart
 Identify dimensions and facts
 Indicate how data is derived from enterprise data
warehouses, including derivation rules
 Indicate how data is derived from operational data
store, including derivation rules
 Identify available reports and predefined queries
 Identify data analysis techniques (e.g. drill-down)
 Identify responsible people
38
Chapter 9 39
Copyright © 2014 Pearson Education, Inc.
ONLINE ANALYTICAL PROCESSING
(OLAP) TOOLS
 The use of a set of graphical tools that provides users with
multidimensional views of their data and allows them to
analyze the data using simple windowing techniques
 Relational OLAP (ROLAP)
 Traditional relational representation
 Multidimensional OLAP (MOLAP)
 Cube structure
 OLAP Operations
 Cube slicing–come up with 2-D view of data
 Drill-down–going from summary to more detailed
views
39
40
Figure 9-18 Slicing a data cube
Chapter 9 40
Copyright © 2014 Pearson Education, Inc.
Chapter 9 41
Copyright © 2014 Pearson Education, Inc.
41
Figure 9-19
Example of drill-down
a) Summary report
b) Drill-down with color attribute added
Starting with summary
data, users can obtain
details for particular
cells
Chapter 9 42
Copyright © 2014 Pearson Education, Inc.
BUSINESS PERFORMANCE MGMT (BPM)
42
Figure 9-22
Sample Dashboard
BPM systems allow
managers to measure,
monitor, and manage
key activities and
processes to achieve
organizational goals.
Dashboards are often
used to provide an
information system in
support of BPM.
Charts like these are examples of data visualization, the representation
of data in graphical and multimedia formats for human analysis.
Chapter 9 43
Copyright © 2014 Pearson Education, Inc.
DATA MINING
 Knowledge discovery using a blend
of statistical, AI, and computer
graphics techniques
Goals:
Explain observed events or conditions
Confirm hypotheses
Explore data for new or unexpected
relationships
43
44
Chapter 9 44
Copyright © 2014 Pearson Education, Inc.
45
All rights reserved. No part of this publication may be reproduced, stored in a
retrieval system, or transmitted, in any form or by any means, electronic,
mechanical, photocopying, recording, or otherwise, without the prior written
permission of the publisher. Printed in the United States of America.
Copyright © 2014 Pearson Education, Inc.

More Related Content

Similar to DATA WAREHOUSING.pptx

Data Warehouse Architecture.pptx
Data Warehouse Architecture.pptxData Warehouse Architecture.pptx
Data Warehouse Architecture.pptx22PCS007ANBUF
 
introduction to datawarehouse
introduction to datawarehouseintroduction to datawarehouse
introduction to datawarehousekiran14360
 
OLAP Cubes in Datawarehousing
OLAP Cubes in DatawarehousingOLAP Cubes in Datawarehousing
OLAP Cubes in DatawarehousingPrithwis Mukerjee
 
Dataware house multidimensionalmodelling
Dataware house multidimensionalmodellingDataware house multidimensionalmodelling
Dataware house multidimensionalmodellingmeghu123
 
TDWI checklist 2018 - Data Warehouse Infrastructure
TDWI checklist 2018 - Data Warehouse InfrastructureTDWI checklist 2018 - Data Warehouse Infrastructure
TDWI checklist 2018 - Data Warehouse InfrastructureJeannette Browning
 
Day 02 sap_bi_overview_and_terminology
Day 02 sap_bi_overview_and_terminologyDay 02 sap_bi_overview_and_terminology
Day 02 sap_bi_overview_and_terminologytovetrivel
 
Partitioning your Oracle Data Warehouse - Just a simple task?
Partitioning your Oracle Data Warehouse - Just a simple task?Partitioning your Oracle Data Warehouse - Just a simple task?
Partitioning your Oracle Data Warehouse - Just a simple task?Trivadis
 
Data Warehousing and Data Mining
Data Warehousing and Data MiningData Warehousing and Data Mining
Data Warehousing and Data Miningidnats
 
Laudon_MIS13_ch06.ppt
Laudon_MIS13_ch06.pptLaudon_MIS13_ch06.ppt
Laudon_MIS13_ch06.pptanisur_rehman
 
( Big ) Data Management - Master Data - Global concepts in 10 slides
( Big ) Data Management - Master Data - Global concepts in 10 slides( Big ) Data Management - Master Data - Global concepts in 10 slides
( Big ) Data Management - Master Data - Global concepts in 10 slidesNicolas Sarramagna
 
An ontological approach to handle multidimensional schema evolution for data ...
An ontological approach to handle multidimensional schema evolution for data ...An ontological approach to handle multidimensional schema evolution for data ...
An ontological approach to handle multidimensional schema evolution for data ...ijdms
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional ModelingSunita Sahu
 
MIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
MIS-CH6: Foundation of BUsiness Intelligence: Databases & ISMIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
MIS-CH6: Foundation of BUsiness Intelligence: Databases & ISSukanya Ben
 
Nw2008 tips tricks_edw_v10
Nw2008 tips tricks_edw_v10Nw2008 tips tricks_edw_v10
Nw2008 tips tricks_edw_v10Harsha Gowda B R
 

Similar to DATA WAREHOUSING.pptx (20)

Data Warehouse Architecture.pptx
Data Warehouse Architecture.pptxData Warehouse Architecture.pptx
Data Warehouse Architecture.pptx
 
layout strategy.ppt
layout strategy.pptlayout strategy.ppt
layout strategy.ppt
 
introduction to datawarehouse
introduction to datawarehouseintroduction to datawarehouse
introduction to datawarehouse
 
OLAP Cubes in Datawarehousing
OLAP Cubes in DatawarehousingOLAP Cubes in Datawarehousing
OLAP Cubes in Datawarehousing
 
Data mining notes
Data mining notesData mining notes
Data mining notes
 
Dataware house multidimensionalmodelling
Dataware house multidimensionalmodellingDataware house multidimensionalmodelling
Dataware house multidimensionalmodelling
 
Data warehouse
Data warehouseData warehouse
Data warehouse
 
TDWI checklist 2018 - Data Warehouse Infrastructure
TDWI checklist 2018 - Data Warehouse InfrastructureTDWI checklist 2018 - Data Warehouse Infrastructure
TDWI checklist 2018 - Data Warehouse Infrastructure
 
Day 02 sap_bi_overview_and_terminology
Day 02 sap_bi_overview_and_terminologyDay 02 sap_bi_overview_and_terminology
Day 02 sap_bi_overview_and_terminology
 
Partitioning your Oracle Data Warehouse - Just a simple task?
Partitioning your Oracle Data Warehouse - Just a simple task?Partitioning your Oracle Data Warehouse - Just a simple task?
Partitioning your Oracle Data Warehouse - Just a simple task?
 
Data Warehousing and Data Mining
Data Warehousing and Data MiningData Warehousing and Data Mining
Data Warehousing and Data Mining
 
Laudon_MIS13_ch06.ppt
Laudon_MIS13_ch06.pptLaudon_MIS13_ch06.ppt
Laudon_MIS13_ch06.ppt
 
Database 1 Introduction
Database 1   IntroductionDatabase 1   Introduction
Database 1 Introduction
 
ITReady DW Day2
ITReady DW Day2ITReady DW Day2
ITReady DW Day2
 
( Big ) Data Management - Master Data - Global concepts in 10 slides
( Big ) Data Management - Master Data - Global concepts in 10 slides( Big ) Data Management - Master Data - Global concepts in 10 slides
( Big ) Data Management - Master Data - Global concepts in 10 slides
 
An ontological approach to handle multidimensional schema evolution for data ...
An ontological approach to handle multidimensional schema evolution for data ...An ontological approach to handle multidimensional schema evolution for data ...
An ontological approach to handle multidimensional schema evolution for data ...
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional Modeling
 
MIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
MIS-CH6: Foundation of BUsiness Intelligence: Databases & ISMIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
MIS-CH6: Foundation of BUsiness Intelligence: Databases & IS
 
Chapter 12
Chapter 12Chapter 12
Chapter 12
 
Nw2008 tips tricks_edw_v10
Nw2008 tips tricks_edw_v10Nw2008 tips tricks_edw_v10
Nw2008 tips tricks_edw_v10
 

More from calf_ville86

Lesson 3 - Network Security.pptx
Lesson 3 - Network Security.pptxLesson 3 - Network Security.pptx
Lesson 3 - Network Security.pptxcalf_ville86
 
Logistics and Managing Transportion.pptx
Logistics and Managing Transportion.pptxLogistics and Managing Transportion.pptx
Logistics and Managing Transportion.pptxcalf_ville86
 
Lesson 3 - Enterprise System Architecture.pptx
Lesson 3 - Enterprise System Architecture.pptxLesson 3 - Enterprise System Architecture.pptx
Lesson 3 - Enterprise System Architecture.pptxcalf_ville86
 
Lesson 3 - The Kimbal Lifecycle.pptx
Lesson 3 - The Kimbal Lifecycle.pptxLesson 3 - The Kimbal Lifecycle.pptx
Lesson 3 - The Kimbal Lifecycle.pptxcalf_ville86
 
Lesson 3 - Basic Application Software.pptx
Lesson 3 - Basic Application Software.pptxLesson 3 - Basic Application Software.pptx
Lesson 3 - Basic Application Software.pptxcalf_ville86
 
Lesson 2 - The Internet, the Web, and Electronic Commerce.pptx
Lesson 2 - The Internet, the Web, and Electronic Commerce.pptxLesson 2 - The Internet, the Web, and Electronic Commerce.pptx
Lesson 2 - The Internet, the Web, and Electronic Commerce.pptxcalf_ville86
 
LESSON 1 - DATABASE MANAGEMENT SYSTEM.pptx
LESSON 1 - DATABASE MANAGEMENT SYSTEM.pptxLESSON 1 - DATABASE MANAGEMENT SYSTEM.pptx
LESSON 1 - DATABASE MANAGEMENT SYSTEM.pptxcalf_ville86
 
Lesson 1 - Introduction to Enterprise Systems for Management.pdf
Lesson 1 - Introduction to Enterprise Systems for Management.pdfLesson 1 - Introduction to Enterprise Systems for Management.pdf
Lesson 1 - Introduction to Enterprise Systems for Management.pdfcalf_ville86
 
Lessoon 1 - Information Technology, The Internet and You.pptx
Lessoon 1 - Information Technology, The Internet and You.pptxLessoon 1 - Information Technology, The Internet and You.pptx
Lessoon 1 - Information Technology, The Internet and You.pptxcalf_ville86
 
Definition of requirements for each project phases.pdf
Definition of requirements for each project phases.pdfDefinition of requirements for each project phases.pdf
Definition of requirements for each project phases.pdfcalf_ville86
 
3. System development life cycle.ppt
3. System development life cycle.ppt3. System development life cycle.ppt
3. System development life cycle.pptcalf_ville86
 
1. Transaction Processing and Concurrency Control.pptx
1. Transaction Processing and Concurrency Control.pptx1. Transaction Processing and Concurrency Control.pptx
1. Transaction Processing and Concurrency Control.pptxcalf_ville86
 
1. Components of Information Systems.pdf
1. Components of Information Systems.pdf1. Components of Information Systems.pdf
1. Components of Information Systems.pdfcalf_ville86
 
Introduction to Information Management.pptx
Introduction to Information Management.pptxIntroduction to Information Management.pptx
Introduction to Information Management.pptxcalf_ville86
 
sybca-bigdata-ppt.pptx
sybca-bigdata-ppt.pptxsybca-bigdata-ppt.pptx
sybca-bigdata-ppt.pptxcalf_ville86
 
1. Business logic.pptx
1. Business logic.pptx1. Business logic.pptx
1. Business logic.pptxcalf_ville86
 

More from calf_ville86 (19)

Lesson 3 - Network Security.pptx
Lesson 3 - Network Security.pptxLesson 3 - Network Security.pptx
Lesson 3 - Network Security.pptx
 
Logistics and Managing Transportion.pptx
Logistics and Managing Transportion.pptxLogistics and Managing Transportion.pptx
Logistics and Managing Transportion.pptx
 
Lesson 3 - Enterprise System Architecture.pptx
Lesson 3 - Enterprise System Architecture.pptxLesson 3 - Enterprise System Architecture.pptx
Lesson 3 - Enterprise System Architecture.pptx
 
Lesson 3 - The Kimbal Lifecycle.pptx
Lesson 3 - The Kimbal Lifecycle.pptxLesson 3 - The Kimbal Lifecycle.pptx
Lesson 3 - The Kimbal Lifecycle.pptx
 
Lesson 3 - Basic Application Software.pptx
Lesson 3 - Basic Application Software.pptxLesson 3 - Basic Application Software.pptx
Lesson 3 - Basic Application Software.pptx
 
Lesson 2 - The Internet, the Web, and Electronic Commerce.pptx
Lesson 2 - The Internet, the Web, and Electronic Commerce.pptxLesson 2 - The Internet, the Web, and Electronic Commerce.pptx
Lesson 2 - The Internet, the Web, and Electronic Commerce.pptx
 
LESSON 1 - DATABASE MANAGEMENT SYSTEM.pptx
LESSON 1 - DATABASE MANAGEMENT SYSTEM.pptxLESSON 1 - DATABASE MANAGEMENT SYSTEM.pptx
LESSON 1 - DATABASE MANAGEMENT SYSTEM.pptx
 
Lesson 1 - Introduction to Enterprise Systems for Management.pdf
Lesson 1 - Introduction to Enterprise Systems for Management.pdfLesson 1 - Introduction to Enterprise Systems for Management.pdf
Lesson 1 - Introduction to Enterprise Systems for Management.pdf
 
Lessoon 1 - Information Technology, The Internet and You.pptx
Lessoon 1 - Information Technology, The Internet and You.pptxLessoon 1 - Information Technology, The Internet and You.pptx
Lessoon 1 - Information Technology, The Internet and You.pptx
 
Definition of requirements for each project phases.pdf
Definition of requirements for each project phases.pdfDefinition of requirements for each project phases.pdf
Definition of requirements for each project phases.pdf
 
3. System development life cycle.ppt
3. System development life cycle.ppt3. System development life cycle.ppt
3. System development life cycle.ppt
 
1. Transaction Processing and Concurrency Control.pptx
1. Transaction Processing and Concurrency Control.pptx1. Transaction Processing and Concurrency Control.pptx
1. Transaction Processing and Concurrency Control.pptx
 
1. Components of Information Systems.pdf
1. Components of Information Systems.pdf1. Components of Information Systems.pdf
1. Components of Information Systems.pdf
 
Introduction to Information Management.pptx
Introduction to Information Management.pptxIntroduction to Information Management.pptx
Introduction to Information Management.pptx
 
sybca-bigdata-ppt.pptx
sybca-bigdata-ppt.pptxsybca-bigdata-ppt.pptx
sybca-bigdata-ppt.pptx
 
PART 1.docx
PART 1.docxPART 1.docx
PART 1.docx
 
Lesson 2.docx
Lesson 2.docxLesson 2.docx
Lesson 2.docx
 
1. Business logic.pptx
1. Business logic.pptx1. Business logic.pptx
1. Business logic.pptx
 
LESSON 1.pdf
LESSON 1.pdfLESSON 1.pdf
LESSON 1.pdf
 

Recently uploaded

Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptxJonalynLegaspi2
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 

Recently uploaded (20)

Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptx
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 

DATA WAREHOUSING.pptx

  • 1. A.Y. 2022 – 2023 2nd Semester – Evaluation of Business Performance 1 LESSON 1: DATA WAREHOUSING
  • 2. Chapter 9 2 Copyright © 2014 Pearson Education, Inc. OBJECTIVES  Define terms  Explore reasons for information gap between information needs and availability  Understand reasons for need of data warehousing  Describe three levels of data warehouse architectures  Describe two components of star schema  Estimate fact table size  Design a data mart  Develop requirements for a data mart 2
  • 3. Chapter 9 3 Copyright © 2014 Pearson Education, Inc. DEFINITIONS  Data Warehouse  A subject-oriented, integrated, time-variant, non- updatable collection of data used in support of management decision-making processes  Subject-oriented: e.g. customers, patients, students, products  Integrated: consistent naming conventions, formats, encoding structures; from multiple data sources  Time-variant: can study trends and changes  Non-updatable: read-only, periodically refreshed  Data Mart  A data warehouse that is limited in scope 3
  • 4. Chapter 9 4 Copyright © 2014 Pearson Education, Inc. HISTORY LEADING TO DATA WAREHOUSING  Improvement in database technologies, especially relational DBMSs  Advances in computer hardware, including mass storage and parallel architectures  Emergence of end-user computing with powerful interfaces and tools  Advances in middleware, enabling heterogeneous database connectivity  Recognition of difference between operational and informational systems 4
  • 5. Chapter 9 5 Copyright © 2014 Pearson Education, Inc. NEED FOR DATA WAREHOUSING  Integrated, company-wide view of high- quality information (from disparate databases)  Separation of operational and informational systems and data (for improved performance) 5
  • 6. Chapter 9 6 Copyright © 2014 Pearson Education, Inc. ISSUES WITH COMPANY-WIDE VIEW Inconsistent key structures Synonyms Free-form vs. structured fields Inconsistent data values Missing data See figure 9-1 for example 6
  • 7. 7 Figure 9-1 Examples of heterogeneous data Chapter 9 7 Copyright © 2014 Pearson Education, Inc.
  • 8. Chapter 9 8 Copyright © 2014 Pearson Education, Inc. ORGANIZATIONAL TRENDS MOTIVATING DATA WAREHOUSES  No single system of records  Multiple systems not synchronized  Organizational need to analyze activities in a balanced way  Customer relationship management  Supplier relationship management 8
  • 9. Chapter 9 9 Copyright © 2014 Pearson Education, Inc. SEPARATING OPERATIONAL AND INFORMATIONAL SYSTEMS  Operational system – a system that is used to run a business in real time, based on current data; also called a system of record  Informational system – a system designed to support decision making based on historical point-in-time and prediction data for complex queries or data-mining applications 9
  • 10. Chapter 9 10 Copyright © 2014 Pearson Education, Inc. 10
  • 11. Chapter 9 11 Copyright © 2014 Pearson Education, Inc. DATA WAREHOUSE ARCHITECTURES Independent Data Mart Dependent Data Mart and Operational Data Store Logical Data Mart and Real-Time Data Warehouse Three-Layer architecture 11 All involve some form of extract, transform and load (ETL)
  • 12. 12 Figure 9-2 Independent data mart data warehousing architecture Data marts: Mini-warehouses, limited in scope E T L Separate ETL for each independent data mart Data access complexity due to multiple data marts Chapter 9 12 Copyright © 2014 Pearson Education, Inc.
  • 13. 13 Figure 9-3 Dependent data mart with operational data store: a three-level architecture E T L Single ETL for enterprise data warehouse (EDW) Simpler data access ODS provides option for obtaining current data Dependent data marts loaded from EDW Chapter 9 13 Copyright © 2014 Pearson Education, Inc.
  • 14. 14 E T L Near real-time ETL for Data Warehouse ODS and data warehouse are one and the same Data marts are NOT separate databases, but logical views of the data warehouse  Easier to create new data marts Figure 9-4 Logical data mart and real time warehouse architecture Chapter 9 14 Copyright © 2014 Pearson Education, Inc.
  • 15. 15 Chapter 9 15 Copyright © 2014 Pearson Education, Inc.
  • 16. 16 Figure 9-5 Three-layer data architecture for a data warehouse Chapter 9 16 Copyright © 2014 Pearson Education, Inc.
  • 17. Chapter 9 17 Copyright © 2014 Pearson Education, Inc. DATA CHARACTERISTICS STATUS VS. EVENT DATA 17 Status Status Event = a database action (create/ update/ delete) that results from a transaction Figure 9-6 Example of DBMS log entry
  • 18. Chapter 9 18 Copyright © 2014 Pearson Education, Inc. With transient data, changes to existing records are written over previous records, thus destroying the previous data content Figure 9-7 Transient operational data DATA CHARACTERISTICS STATUS VS. EVENT DATA
  • 19. Chapter 9 19 Copyright © 2014 Pearson Education, Inc. 19 Periodic data are never physically altered or deleted once they have been added to the store Figure 9-8 Periodic warehouse data DATA CHARACTERISTICS STATUS VS. EVENT DATA
  • 20. Chapter 9 20 Copyright © 2014 Pearson Education, Inc. OTHER DATA WAREHOUSE CHANGES  New descriptive attributes  New business activity attributes  New classes of descriptive attributes  Descriptive attributes become more refined  Descriptive data are related to one another  New source of data 20
  • 21. Chapter 9 21 Copyright © 2014 Pearson Education, Inc. DERIVED DATA  Objectives  Ease of use for decision support applications  Fast response to predefined user queries  Customized data for particular target audiences  Ad-hoc query support  Data mining capabilities  Characteristics  Detailed (mostly periodic) data  Aggregate (for summary)  Distributed (to departmental servers) 21 Most common data model = dimensional model (usually implemented as a star schema)
  • 22. 22 Figure 9-9 Components of a star schema Fact tables contain factual or quantitative data Dimension tables contain descriptions about the subjects of the business 1:N relationship between dimension tables and fact tables Excellent for ad-hoc queries, but bad for online transaction processing Dimension tables are denormalized to maximize performance Chapter 9 22 Copyright © 2014 Pearson Education, Inc.
  • 23. 23 Figure 9-10 Star schema example Fact table provides statistics for sales broken down by product, period and store dimensions Chapter 9 23 Copyright © 2014 Pearson Education, Inc.
  • 24. 24 Figure 9-11 Star schema with sample data Chapter 9 24 Copyright © 2014 Pearson Education, Inc.
  • 25. Chapter 9 25 Copyright © 2014 Pearson Education, Inc. SURROGATE KEYS  Dimension table keys should be surrogate (non-intelligent and non-business related), because: Business keys may change over time Helps keep track of nonkey attribute values for a given production key Surrogate keys are simpler and shorter Surrogate keys can be same length and format for all key 25
  • 26. Chapter 9 26 Copyright © 2014 Pearson Education, Inc. GRAIN OF THE FACT TABLE  Granularity of Fact Table–what level of detail do you want? Transactional grain–finest level Aggregated grain–more summarized Finer grains  better market basket analysis capability Finer grain  more dimension tables, more rows in fact table In Web-based commerce, finest granularity is a click 26
  • 27. Chapter 9 27 Copyright © 2014 Pearson Education, Inc. DURATION OF THE DATABASE  Natural duration–13 months or 5 quarters  Financial institutions may need longer duration  Older data is more difficult to source and cleanse 27
  • 28. Chapter 9 28 Copyright © 2014 Pearson Education, Inc. SIZE OF FACT TABLE  Depends on the number of dimensions and the grain of the fact table  Number of rows = product of number of possible values for each dimension associated with the fact table  Example: assume the following for Figure 9-11:  Total rows calculated as follows (assuming only half the products record sales for a given month): 28
  • 29. Chapter 9 29 Copyright © 2014 Pearson Education, Inc. 29 Figure 9-12 Modeling dates Fact tables contain time-period data  Date dimensions are important
  • 30. Chapter 9 30 Copyright © 2014 Pearson Education, Inc. VARIATIONS OF THE STAR SCHEMA  Multiple Facts Tables  Can improve performance  Often used to store facts for different combinations of dimensions  Conformed dimensions  Hierarchies  Sometimes a dimension forms a natural, fixed depth hierarchy  Design options  Include all information for each level in a single denormalized table  Normalize the dimension into a nested set of 1:M table relationships 30
  • 31. Chapter 9 31 Copyright © 2014 Pearson Education, Inc. 31 Figure 9-13 Conformed dimensions Conformed dimension Associated with multiple fact tables Two fact tables  two (connected) start schemas.
  • 32. Chapter 9 32 Copyright © 2014 Pearson Education, Inc. 32 Figure 9-14 Fixed product hierarchy Dimension hierarchies help to provide levels of aggregation for users wanting summary information in a data warehouse
  • 33. Chapter 9 33 Copyright © 2014 Pearson Education, Inc. SLOWLY CHANGING DIMENSIONS (SCD)  How to maintain knowledge of the past  Kimble’s approaches:  Type 1: just replace old data with new (lose historical data)  Type 3: for each changing attribute, create a current value field and several old-valued fields (multivalued)  Type 2: create a new dimension table row each time the dimension object changes, with all dimension characteristics at the time of change. Most common approach. 33
  • 34. Chapter 9 34 Copyright © 2014 Pearson Education, Inc. 34 Figure 9-16 Example of Type 2 SCD Customer dimension table The dimension table contains several records for the same customer. The specific customer record to use depends on the key and the date of the fact, which should be between start and end dates of the SCD customer record.
  • 35. Chapter 9 35 Copyright © 2014 Pearson Education, Inc. 10 ESSENTIAL RULES FOR DIMENSIONAL MODELING  Use atomic facts  Create single-process fact tables  Include a date dimension for each fact table  Enforce consistent grain  Disallow null keys in fact tables  Honor hierarchies  Decode dimension tables  Use surrogate keys  Conform dimensions  Balance requirements with actual data 35
  • 36. Chapter 9 36 Copyright © 2014 Pearson Education, Inc.  Big Data = databases whose volume, velocity, and variety strain the ability of relational DBMSs to capture, manage, and process data in a timely fashion  Issue of Big Data  huge volume  often unstructured (text, images, RFID, etc.)  Columnar databases  Column-based (rather than relational DB, which are row-based)  optimize storage for summary data of few columns (different need than OLTP)  Data compression  Sybase, Vertica, Infobright 36 BIG DATA AND COLUMNAR DATABASES
  • 37. Chapter 9 37 Copyright © 2014 Pearson Education, Inc.  “Not only SQL”  a class of database technology used to store and access textual and other unstructured data, using more flexible structures than the rows and columns format of relational databases  Example NoSql languages: Unstructured Query Language (UQL), XQuery (for XML data)  Example NoSql engines: Cassandra (used by Facebook), Hadoop and MapReduce 37 NOSQL
  • 38. Chapter 9 38 Copyright © 2014 Pearson Education, Inc. THE USER INTERFACE METADATA (DATA CATALOG)  Identify subjects of the data mart  Identify dimensions and facts  Indicate how data is derived from enterprise data warehouses, including derivation rules  Indicate how data is derived from operational data store, including derivation rules  Identify available reports and predefined queries  Identify data analysis techniques (e.g. drill-down)  Identify responsible people 38
  • 39. Chapter 9 39 Copyright © 2014 Pearson Education, Inc. ONLINE ANALYTICAL PROCESSING (OLAP) TOOLS  The use of a set of graphical tools that provides users with multidimensional views of their data and allows them to analyze the data using simple windowing techniques  Relational OLAP (ROLAP)  Traditional relational representation  Multidimensional OLAP (MOLAP)  Cube structure  OLAP Operations  Cube slicing–come up with 2-D view of data  Drill-down–going from summary to more detailed views 39
  • 40. 40 Figure 9-18 Slicing a data cube Chapter 9 40 Copyright © 2014 Pearson Education, Inc.
  • 41. Chapter 9 41 Copyright © 2014 Pearson Education, Inc. 41 Figure 9-19 Example of drill-down a) Summary report b) Drill-down with color attribute added Starting with summary data, users can obtain details for particular cells
  • 42. Chapter 9 42 Copyright © 2014 Pearson Education, Inc. BUSINESS PERFORMANCE MGMT (BPM) 42 Figure 9-22 Sample Dashboard BPM systems allow managers to measure, monitor, and manage key activities and processes to achieve organizational goals. Dashboards are often used to provide an information system in support of BPM. Charts like these are examples of data visualization, the representation of data in graphical and multimedia formats for human analysis.
  • 43. Chapter 9 43 Copyright © 2014 Pearson Education, Inc. DATA MINING  Knowledge discovery using a blend of statistical, AI, and computer graphics techniques Goals: Explain observed events or conditions Confirm hypotheses Explore data for new or unexpected relationships 43
  • 44. 44 Chapter 9 44 Copyright © 2014 Pearson Education, Inc.
  • 45. 45 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America. Copyright © 2014 Pearson Education, Inc.