Chapter 3 Part 1
Chapter 3 Part 1
Introduction to DW
DW architecture [ch7 paulraj] [ch 3.3 Han Kamber]
ETL Process[chapt 12 paulraj]
Top-down and bottom-up approaches, characteristics
and benefits of data mart[ch 2 paulraj]
Difference between OLAP[ch 15 paulraj] and OLTP.
Dimensional analysis[ch 5 paulraj]- Define cubes. Drill-
down and roll- up – slice and dice or rotation
OLAP models- ROLAP and MOLAP[ch 15 paulraj]
Define Schemas- Star, snowflake and fact constellations
[chapt 10&11 paulraj] [ch 3.2 Han Kamber]
Chapter 3: Data Warehousing and
OLAP Technology: An Overview
4
“A data warehouse is a subject-oriented, integrated, time-variant, and nonvolatile
collection of data in support of management’s decision-making process.”—W. H. Inmon
13
The goals of a Data Warehouse
The data warehouse must make an organization's
information easily accessible.
The data warehouse must present the organization's
information consistently.
The data warehouse must be adaptive and resilient to
change.
The data warehouse must be a secure bastion that
protects our information assets.
The data warehouse must serve as the foundation for
improved decision making.
The business community must accept the data warehouse
if it is to be deemed successful.
14
Data warehouse is not a single software or
hardware product you purchase to provide
strategic information.
it is a computing environment where users can
find strategic information to make strategic
decisions.
Create
Metadata Queries
Database
Data Mining
Extract
Clean
Transform
Load Data Staging
Operational & other User
The data warehouse
External data sources
16
Data Warehouse Architecture
Relational
Databases
Optimized Loader
Extraction
ERP
Systems Cleansing
Data Warehouse
Engine Analyze
Purchased Query
Data
Legacy
Data Metadata Repository
20
Data Warehouse Architecture
21
February 23, 2018 Data Mining: Concepts and Techniques 22
The benefits of data warehousing
The potential benefits of data warehousing are
high returns on investment.
substantial competitive advantage.
increased productivity of corporate decision-
makers.
26
Conceptual Modeling of Data Warehouses
Modeling data warehouses: dimensions & measures
Star schema: A fact table in the middle connected to a
set of dimension tables
Snowflake schema: A refinement of star schema
where some dimensional hierarchy is normalized into a
set of smaller dimension tables, forming a shape
similar to snowflake
Fact constellations: Multiple fact tables share
dimension tables, viewed as a collection of stars,
therefore called galaxy schema or fact constellation
branch_key
branch location
location_key
location_key
branch_key
units_sold street
branch_name
city_key
branch_type
dollars_sold city
city_key
avg_sales city
state_or_province
Measures country
Relational
Databases
Optimized Loader
Extraction
ERP
Systems Cleansing
Data Warehouse
Engine Analyze
Purchased Query
Data
Legacy
Data Metadata Repository
32
Metadata Repository
Meta data is the data defining warehouse objects. It stores:
Description of the structure of the data warehouse
schema, view, dimensions, hierarchies, derived data defn, data
mart locations and contents
Operational meta-data
data lineage (history of migrated data and transformation path),
currency of data (active, archived, or purged), monitoring
information (warehouse usage statistics, error reports, audit trails)
The algorithms used for summarization
The mapping from operational environment to the data warehouse
Data related to system performance
warehouse schema, view and derived data definitions
Business data
business terms and definitions, ownership of data, charging policies
February 23, 2018 Data Mining: Concepts and Techniques 33
Metadata
Data about data, data dictionary, data catalog
Keeps info about the logical data structures, files and addresses , indexes,
etc.
Types are:
Operational Metadata:
data from various operational sources are combined, records are split, combine parts
of records, multiple coding schemes and different fields lengths and data types.
To deliver info you need to tie them back together
Extraction & transformation metadata:
Extraction frequencies, Extraction methods and Extraction business rules need to be
recorded. source system info,
Contains info about all transformations taking place in staging area.
End User Metadata:
Navigation map of DW for the end user
Allows end user to use its own business terminology and look for info
February 23, 2018 Paulraj pg. No. 42 34
Metadata
Helps:
•As a glue to connect all parts of DW.
•Provide info to the developer about content and
structure (IT personnel need to know data sources and targets;
database, table and column names; refresh schedules; data usage measures;
etc.)
•Content recognizable in end users terms (Users need to
know entity/attribute definitions; reports/query tools available; report
distribution information; help desk contact information, etc. )
•It is useful to have a central information repository
to tell users what’s in the data warehouse, where it
came from, who is in charge of it etc.
•The metadata can also tell query tools what’s in
the data warehouse, where to find it, who is
authorized to access it etc. 35
February 23, 2018 Data Mining: Concepts and Techniques 36
Data Staging Area: ETL
• A storage area where extracted data is
cleaned, transformed and deduplicated.
• Initial storage for data
• Need not be based on Relational model
• Mainly sorting and Sequential processing
• Does not provide data access to users
• Analogy – kitchen of a restaurant
ETL
Create
Metadata Queries
Database
Data Mining
Extract
Clean
Transform
Load Data Staging
Operational & other User
The data warehouse
External data sources
38
Dimensional analysis[ch 5 paulraj]
Define cubes.
Drill- down and roll- up – slice and dice or
rotation
OLAP models- ROLAP and MOLAP[ch 15 paulraj]
Define Schemas- Star, snowflake and fact
constellations [chapt 10&11 paulraj] [ch 3.2
Han Kamber]
45
Short note on:
Roll up and drill down -----2015
Dimensional modeling ---2014
MOLAP ----2016-KT , 2016-KT
ROLAP
Start schema ----2015-Rev
Snow flake schema ----2014-Rev-KT
Compare following:
ROLAP and MOLAP -----2015,2015-KT, 2014-Rev-KT
OLTP & OLAP -----2015-KT, 2014, 2016-KT
Data mining Vs OLAP ----2016
What is fact and dimension data? Differentiate between fact and dimension table. What are the components of fact
and dimension table? (Paulraj- 212, Mallach- 496)
What is multidimensional data cube of hypercube? How slice and dice technique fits into this model? ---2014,
2015-Rev, 2014-Rev-KT
What is factless fact table? (Paulraj- 249)
Write short note on information package diagram.
What is dimensional analysis and modeling? Explain development phases of dimensional modeling. (Paulraj -204)
What is dimension modeling? Discuss different dimension modeling techniques in detail. ---2014 –KT
Explain snowflake schema, star schema and fact constellation schema with suitable example. Mention advantages &
disadvantages. (Paulraj -220, 238, 249) -----2015-KT
What is family of stars/ fact constellation schema? (Paulraj -249) -----2015-KT
Explain fact constellation schema for inventory management system assuming appropriate information.
----2016-KT
Explain OLAP architecture with a neat diagram. -----2016-KT
Explain major functions of OLAP. -----2015-KT
Define OLAP. Explain MOLAP and ROLAP with suitable diagram. -----2014-KT, 2014
What is Fundamental difference between MOLAP and ROLAP? -----2016
Explain OLAP operations on multidimensional cubes with examples .-----2015, 2016
Explain various OLAP implementation techniques.