SlideShare a Scribd company logo
Data Warehousing & DATA
MINING (SE-409)
Lecture-1
Introduction and Background
Dr. Huma Ayub
Software Engineering department
University of Engineering and Technology, Taxila
Course Books
– W. H. Inmon, Building the Data Warehouse
(Second Edition), John Wiley & Sons Inc., NY.
– Han, J. and Kamber, M. (2011) Data Mining Concepts
and Techniques, 3rd Edition, Morgan Kaufmann.
– Paulraj Ponniah, Data Warehousing Fundamentals,
John Wiley & Sons Inc., NY.
Summary of course
1. Introduction & Background
2. De-normalization
3. On Line Analytical Processing (OLAP)
4. Dimensional modeling
5. Extract – Transform – Load (ETL)
6. Data Quality Management (DQM)
7. Need for speed (Parallelism, Join and Indexing techniques)
8. Data Mining
Why this course?
• The world is changing (actually changed), either
change or be left behind.
• Missing the opportunities or going in the wrong
direction has prevented us from growing.
• What is the right direction?
• Joining the data, in a knowledge driven
economy.
The need
Knowledge is power, Intelligence
is absolute power!
“Drowning in data and starving
for information”
The need
DATA
INFORMATION
KNOWLEDGE
POWER
INTELLIGENCE
$
Historical overview
1960
Master Files & Reports
1965
Lots of Master files!
1970
Direct Access Memory & DBMS
1975
Online high performance transaction processing 
Historical overview
1980
PCs and 4GL Technology (MIS/DSS)
1985 & 1990
Extract programs, extract processing,
The legacy system’s web


Historical overview: Crisis of Credibility




 
What is the financial health of our company?
-10%
+10%

??
Why a Data Warehouse (DWH)?
• Data recording and storage is growing.
• History is excellent predictor of the future.
• Gives total view of the organization.
• Intelligent decision-support is required for
decision-making.
Reason-1: Why a Data Warehouse?
• Size of Data Sets are going up .
• Cost of data storage is coming down .
– The amount of data average business collects and
stores is doubling every year
– Total hardware and software cost to store and
manage 1 Mbyte of data
• 1990: ~ $15
• 2002: ~ ¢15 (Down 100 times)
• By 2007: < ¢1 (Down 150 times)
Reason-1: Why a Data Warehouse?
–A Few Examples
• WalMart: 24 TB
• France Telecom: ~ 100 TB
• CERN: Up to 20 PB by 2006
• Stanford Linear Accelerator Center (SLAC):
500TB
Caution!
A Warehouse of Data
is NOT a
Data Warehouse
Caution!
Size
is NOT
Everything
Reason-2: Why a Data Warehouse?
• Businesses demand Intelligence (BI).
–Complex questions from integrated data.
–“Intelligent Enterprise”
Reason-2: Why a Data Warehouse?
List of all items that were sold last
month?
List of all items purchased by Tariq
Majeed?
The total sales of the last month
grouped by branch?
How many sales transactions
occurred during the month of
January?
DBMS Approach
Reason-2: Why a Data Warehouse?
Which items sell together? Which
items to stock?
Where and how to place the items?
What discounts to offer?
How best to target customers to
increase sales at a branch?
Which customers are most likely to
respond to my next promotional
campaign, and why?
Intelligent Enterprise
Reason-3: Why a Data Warehouse?
• Businesses want much more…
– What happened?
– Why it happened?
– What will happen?
– What is happening?
– What do you want to happen?
Stages of
Data
Warehouse
What is a Data Warehouse?
A complete repository of historical
corporate data extracted from
transaction systems that is available
for ad-hoc access by knowledge
workers.
What is a Data Warehouse?
Complete repository
History
Transaction System
Ad-Hoc access
Knowledge workers
What is a Data Warehouse?
Transaction System
– Management Information System (MIS)
– Could be typed sheets (NOT transaction system)
Ad-Hoc access
– Dose not have a certain access pattern.
– Queries not known in advance.
– Difficult to write SQL in advance.
Knowledge workers
– Typically NOT IT literate (Executives, Analysts, Managers).
– NOT clerical workers.
– Decision makers.
Another View of a DWH
Subject
Oriented
Integrated
Time
Variant
Non
Volatile
What is a Data Warehouse ?
It is a blend of many technologies, the basic
concept being:
 Take all data from different operational systems.
 If necessary, add relevant data from industry.
 Transform all data and bring into a uniform format.
 Integrate all data as a single entity.
What is a Data Warehouse ? (Cont…)
It is a blend of many technologies, the basic
concept being:
Store data in a format supporting easy access for
decision support.
 Create performance enhancing indices.
 Implement performance enhancement joins.
 Run ad-hoc queries with low selectivity.
Business user
needs info
User requests
IT people
IT people
create reports
IT people
send reports to
business user
IT people do
system analysis
and design
Business user
may get answers
Answers result
in more questions

?
How is it Different from MIS?
 Fundamentally different
How is it Different?
• Different patterns of hardware utilization
100%
0%
Operational DWH
Bus Service vs. Train
How is it Different?
• Combines operational and historical data.
 Don’t do data entry into a DWH, OLTP or ERP are the source
systems.
 OLTP systems don’t keep history, cant get balance statement
more than a year old.
 DWH keep historical data, even of bygone customers. Why?
 In the context of bank, want to know why the customer left?
 What were the events that led to his/her leaving? Why?
 Customer retention/holding.
How much history?
• Depends on:
– Industry.
– Cost of storing historical data.
– Economic value of historical data.
How much history?
• Industries and history
– Telecomm calls are much much more as compared to bank
transactions- 18 months.
– Retailers interested in analyzing yearly seasonal patterns- 65
weeks.
– Insurance companies want to do actuary analysis, use the
historical data in order to predict risk- 7 years.
How much history?
Economic value of data
Vs.
Storage cost
Data Warehouse a
complete repository of data?
How is it Different?
• Usually (but not always) periodic or batch
updates rather than real-time.
 For an ATM, if update not in real-time, then lot of real
trouble.
 DWH is for strategic decision making based on historical
data. Wont hurt if transactions of last one hour/day are
absent.
How is it Different?
 Rate of update depends on:
 volume of data,
 nature of business,
 cost of keeping historical data,
 benefit of keeping historical data.

More Related Content

PPT
1-_Intro_to_Data_Minning__DWH.ppt
PPTX
DWDM Unit 1 (1).pptx
PPT
Introduction to Business Intelligence and Data warehousing - ppt
PPTX
DATA WAREHOUSING
PPTX
presentationofism-complete-1-100227093028-phpapp01.pptx
PPTX
Data warehouse-complete-1-100227093028-phpapp01.pptx
PPTX
What is a Data Warehouse and How Do I Test It?
PPTX
Module 1_Data Warehousing Fundamentals.pptx
1-_Intro_to_Data_Minning__DWH.ppt
DWDM Unit 1 (1).pptx
Introduction to Business Intelligence and Data warehousing - ppt
DATA WAREHOUSING
presentationofism-complete-1-100227093028-phpapp01.pptx
Data warehouse-complete-1-100227093028-phpapp01.pptx
What is a Data Warehouse and How Do I Test It?
Module 1_Data Warehousing Fundamentals.pptx

Similar to Lecture 01.ppt (20)

PDF
Data Mining is the process ofData Mining is the process ofData Mining is the ...
PPTX
Traditional Data-warehousing / BI overview
PPTX
Introduction to business intelligence
PPT
Date warehousing concepts
PDF
Overview of Data Warehousing and Data Mining Lecture Slide
PPT
Datawarehousing
PPT
Lecture1
PPTX
Business Intelligence Overview
PPT
Kushal Data Warehousing PPT
PPTX
1. Data warehouse Fundamentals for MCA SPPU.pptx
PDF
Data warehousev2.1
PDF
Business Intelligence Data Warehouse System
PPT
Data Warehousing Datamining Concepts
PPT
Gulabs Ppt On Data Warehousing And Mining
PPTX
Introduction to data mining and data warehousing
PPT
Msbi by quontra us
PDF
1. Introduction to the Course "Designing Data Bases with Advanced Data Models...
PPTX
DWH_Session_1.pptx
PPT
12209508.ppt
PPTX
Data Mining & Data Warehousing
Data Mining is the process ofData Mining is the process ofData Mining is the ...
Traditional Data-warehousing / BI overview
Introduction to business intelligence
Date warehousing concepts
Overview of Data Warehousing and Data Mining Lecture Slide
Datawarehousing
Lecture1
Business Intelligence Overview
Kushal Data Warehousing PPT
1. Data warehouse Fundamentals for MCA SPPU.pptx
Data warehousev2.1
Business Intelligence Data Warehouse System
Data Warehousing Datamining Concepts
Gulabs Ppt On Data Warehousing And Mining
Introduction to data mining and data warehousing
Msbi by quontra us
1. Introduction to the Course "Designing Data Bases with Advanced Data Models...
DWH_Session_1.pptx
12209508.ppt
Data Mining & Data Warehousing
Ad

Recently uploaded (20)

PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Construction Project Organization Group 2.pptx
PDF
Well-logging-methods_new................
PPTX
Current and future trends in Computer Vision.pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Lecture Notes Electrical Wiring System Components
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Digital Logic Computer Design lecture notes
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Artificial Intelligence
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
composite construction of structures.pdf
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
R24 SURVEYING LAB MANUAL for civil enggi
UNIT 4 Total Quality Management .pptx
Construction Project Organization Group 2.pptx
Well-logging-methods_new................
Current and future trends in Computer Vision.pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
CH1 Production IntroductoryConcepts.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Lecture Notes Electrical Wiring System Components
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Digital Logic Computer Design lecture notes
Automation-in-Manufacturing-Chapter-Introduction.pdf
Foundation to blockchain - A guide to Blockchain Tech
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Artificial Intelligence
bas. eng. economics group 4 presentation 1.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
composite construction of structures.pdf
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Ad

Lecture 01.ppt

  • 1. Data Warehousing & DATA MINING (SE-409) Lecture-1 Introduction and Background Dr. Huma Ayub Software Engineering department University of Engineering and Technology, Taxila
  • 2. Course Books – W. H. Inmon, Building the Data Warehouse (Second Edition), John Wiley & Sons Inc., NY. – Han, J. and Kamber, M. (2011) Data Mining Concepts and Techniques, 3rd Edition, Morgan Kaufmann. – Paulraj Ponniah, Data Warehousing Fundamentals, John Wiley & Sons Inc., NY.
  • 3. Summary of course 1. Introduction & Background 2. De-normalization 3. On Line Analytical Processing (OLAP) 4. Dimensional modeling 5. Extract – Transform – Load (ETL) 6. Data Quality Management (DQM) 7. Need for speed (Parallelism, Join and Indexing techniques) 8. Data Mining
  • 4. Why this course? • The world is changing (actually changed), either change or be left behind. • Missing the opportunities or going in the wrong direction has prevented us from growing. • What is the right direction? • Joining the data, in a knowledge driven economy.
  • 5. The need Knowledge is power, Intelligence is absolute power! “Drowning in data and starving for information”
  • 7. Historical overview 1960 Master Files & Reports 1965 Lots of Master files! 1970 Direct Access Memory & DBMS 1975 Online high performance transaction processing 
  • 8. Historical overview 1980 PCs and 4GL Technology (MIS/DSS) 1985 & 1990 Extract programs, extract processing, The legacy system’s web  
  • 9. Historical overview: Crisis of Credibility       What is the financial health of our company? -10% +10%  ??
  • 10. Why a Data Warehouse (DWH)? • Data recording and storage is growing. • History is excellent predictor of the future. • Gives total view of the organization. • Intelligent decision-support is required for decision-making.
  • 11. Reason-1: Why a Data Warehouse? • Size of Data Sets are going up . • Cost of data storage is coming down . – The amount of data average business collects and stores is doubling every year – Total hardware and software cost to store and manage 1 Mbyte of data • 1990: ~ $15 • 2002: ~ ¢15 (Down 100 times) • By 2007: < ¢1 (Down 150 times)
  • 12. Reason-1: Why a Data Warehouse? –A Few Examples • WalMart: 24 TB • France Telecom: ~ 100 TB • CERN: Up to 20 PB by 2006 • Stanford Linear Accelerator Center (SLAC): 500TB
  • 13. Caution! A Warehouse of Data is NOT a Data Warehouse
  • 15. Reason-2: Why a Data Warehouse? • Businesses demand Intelligence (BI). –Complex questions from integrated data. –“Intelligent Enterprise”
  • 16. Reason-2: Why a Data Warehouse? List of all items that were sold last month? List of all items purchased by Tariq Majeed? The total sales of the last month grouped by branch? How many sales transactions occurred during the month of January? DBMS Approach
  • 17. Reason-2: Why a Data Warehouse? Which items sell together? Which items to stock? Where and how to place the items? What discounts to offer? How best to target customers to increase sales at a branch? Which customers are most likely to respond to my next promotional campaign, and why? Intelligent Enterprise
  • 18. Reason-3: Why a Data Warehouse? • Businesses want much more… – What happened? – Why it happened? – What will happen? – What is happening? – What do you want to happen? Stages of Data Warehouse
  • 19. What is a Data Warehouse? A complete repository of historical corporate data extracted from transaction systems that is available for ad-hoc access by knowledge workers.
  • 20. What is a Data Warehouse? Complete repository History Transaction System Ad-Hoc access Knowledge workers
  • 21. What is a Data Warehouse? Transaction System – Management Information System (MIS) – Could be typed sheets (NOT transaction system) Ad-Hoc access – Dose not have a certain access pattern. – Queries not known in advance. – Difficult to write SQL in advance. Knowledge workers – Typically NOT IT literate (Executives, Analysts, Managers). – NOT clerical workers. – Decision makers.
  • 22. Another View of a DWH Subject Oriented Integrated Time Variant Non Volatile
  • 23. What is a Data Warehouse ? It is a blend of many technologies, the basic concept being:  Take all data from different operational systems.  If necessary, add relevant data from industry.  Transform all data and bring into a uniform format.  Integrate all data as a single entity.
  • 24. What is a Data Warehouse ? (Cont…) It is a blend of many technologies, the basic concept being: Store data in a format supporting easy access for decision support.  Create performance enhancing indices.  Implement performance enhancement joins.  Run ad-hoc queries with low selectivity.
  • 25. Business user needs info User requests IT people IT people create reports IT people send reports to business user IT people do system analysis and design Business user may get answers Answers result in more questions  ? How is it Different from MIS?  Fundamentally different
  • 26. How is it Different? • Different patterns of hardware utilization 100% 0% Operational DWH Bus Service vs. Train
  • 27. How is it Different? • Combines operational and historical data.  Don’t do data entry into a DWH, OLTP or ERP are the source systems.  OLTP systems don’t keep history, cant get balance statement more than a year old.  DWH keep historical data, even of bygone customers. Why?  In the context of bank, want to know why the customer left?  What were the events that led to his/her leaving? Why?  Customer retention/holding.
  • 28. How much history? • Depends on: – Industry. – Cost of storing historical data. – Economic value of historical data.
  • 29. How much history? • Industries and history – Telecomm calls are much much more as compared to bank transactions- 18 months. – Retailers interested in analyzing yearly seasonal patterns- 65 weeks. – Insurance companies want to do actuary analysis, use the historical data in order to predict risk- 7 years.
  • 30. How much history? Economic value of data Vs. Storage cost Data Warehouse a complete repository of data?
  • 31. How is it Different? • Usually (but not always) periodic or batch updates rather than real-time.  For an ATM, if update not in real-time, then lot of real trouble.  DWH is for strategic decision making based on historical data. Wont hurt if transactions of last one hour/day are absent.
  • 32. How is it Different?  Rate of update depends on:  volume of data,  nature of business,  cost of keeping historical data,  benefit of keeping historical data.