SlideShare a Scribd company logo
1 of 43
On-Line Application Processing Warehousing Data Cubes Data Mining
Overview ,[object Object],[object Object],[object Object]
The Data Warehouse ,[object Object],[object Object],[object Object],[object Object]
OLTP ,[object Object],[object Object],[object Object]
OLAP ,[object Object],[object Object],[object Object]
OLAP Examples ,[object Object],[object Object]
Common Architecture ,[object Object],[object Object],[object Object]
Star Schemas ,[object Object],[object Object],[object Object],[object Object]
Example: Star Schema ,[object Object],[object Object],[object Object]
Example, Continued ,[object Object],[object Object],[object Object],[object Object]
Visualization – Star Schema Dimension Table  (Beers) Dimension Table (etc.) Dimension Table  (Drinkers) Dimension Table  (Bars) Fact Table -  Sales Dimension Attrs. Dependent Attrs.
Dimensions and Dependent Attributes ,[object Object],[object Object],[object Object]
Example: Dependent Attribute ,[object Object],[object Object]
Approaches to Building Warehouses ,[object Object],[object Object]
ROLAP Techniques ,[object Object],[object Object]
Typical OLAP Queries ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Typical OLAP Queries --- (2) ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example: OLAP Query ,[object Object],[object Object],[object Object],[object Object]
Example: In SQL ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Using Materialized Views ,[object Object],[object Object]
Example: Materialized View ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example --- Continued ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Since bar -> addr and beer -> manf, there is no real grouping.  We need addr and manf in the SELECT.
Example --- Concluded ,[object Object],[object Object],[object Object],[object Object],[object Object]
MOLAP and Data Cubes ,[object Object],[object Object],[object Object]
Visualization - Data Cubes  price bar beer drinker
Marginals ,[object Object],[object Object]
Visualization - Data Cube w/ Aggregation price bar beer drinker SUM over  all Drinkers
Example: Marginals ,[object Object],[object Object]
Structure of the Cube ,[object Object],[object Object],[object Object]
Drill-Down ,[object Object],[object Object]
Roll-Up ,[object Object],[object Object]
Roll Up and Drill Down $ of Anheuser-Busch by drinker/bar $ of A-B / drinker Roll up by Bar $ of A-B Beers / drinker Drill down by Beer 40 31 38 Blue Chalk 42 36 50 Nut- House 30 33 45 Joe’s Bar Mary Bob Jim 112 100 133 Mary Bob Jim 35 40 48 Bud Light 37 31 45 M’lob 40 29 40 Bud Mary Bob Jim
Materialized Data-Cube Views ,[object Object],[object Object]
Example ,[object Object],[object Object],[object Object],[object Object],[object Object]
Data Mining ,[object Object],[object Object],[object Object],[object Object]
Market-Basket Data ,[object Object],[object Object]
Example: Market Baskets ,[object Object],[object Object],[object Object]
Finding Frequent Pairs ,[object Object],[object Object],[object Object]
Frequent Pairs in SQL ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Look for two Basket tuples with the same basket and different items. First item must precede second, so we don’t count the same pair twice. Create a group for each pair of items that appears in at least one basket. Throw away pairs of items that do not appear at least s   times.
A-Priori Trick --- (1) ,[object Object],[object Object]
A-Priori Trick --- (2) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Items that appear in at least  s   baskets.
A-Priori Algorithm ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example: A-Priori ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

More Related Content

What's hot

Data warehouse-dimensional-modeling-and-design
Data warehouse-dimensional-modeling-and-designData warehouse-dimensional-modeling-and-design
Data warehouse-dimensional-modeling-and-design
Sarita Kataria
 
Dataware house multidimensionalmodelling
Dataware house multidimensionalmodellingDataware house multidimensionalmodelling
Dataware house multidimensionalmodelling
meghu123
 
Introduction to data warehousing
Introduction to data warehousing   Introduction to data warehousing
Introduction to data warehousing
Girish Dhareshwar
 
Designing high performance datawarehouse
Designing high performance datawarehouseDesigning high performance datawarehouse
Designing high performance datawarehouse
Uday Kothari
 

What's hot (20)

Data Warehousing and Data Mining
Data Warehousing and Data MiningData Warehousing and Data Mining
Data Warehousing and Data Mining
 
Introduction to Data Warehousing
Introduction to Data WarehousingIntroduction to Data Warehousing
Introduction to Data Warehousing
 
Data warehouse-dimensional-modeling-and-design
Data warehouse-dimensional-modeling-and-designData warehouse-dimensional-modeling-and-design
Data warehouse-dimensional-modeling-and-design
 
Difference between data warehouse and data mining
Difference between data warehouse and data miningDifference between data warehouse and data mining
Difference between data warehouse and data mining
 
Data Warehousing - in the real world
Data Warehousing - in the real worldData Warehousing - in the real world
Data Warehousing - in the real world
 
Dataware house multidimensionalmodelling
Dataware house multidimensionalmodellingDataware house multidimensionalmodelling
Dataware house multidimensionalmodelling
 
11666 Bitt I 2008 Lect3
11666 Bitt I 2008 Lect311666 Bitt I 2008 Lect3
11666 Bitt I 2008 Lect3
 
DATA WAREHOUSING AND DATA MINING
DATA WAREHOUSING AND DATA MININGDATA WAREHOUSING AND DATA MINING
DATA WAREHOUSING AND DATA MINING
 
Data warehousing
Data warehousingData warehousing
Data warehousing
 
Data Warehouse
Data WarehouseData Warehouse
Data Warehouse
 
Data ware house architecture
Data ware house architectureData ware house architecture
Data ware house architecture
 
Open Source Datawarehouse
Open Source DatawarehouseOpen Source Datawarehouse
Open Source Datawarehouse
 
Seminar datawarehousing
Seminar datawarehousingSeminar datawarehousing
Seminar datawarehousing
 
Introduction to data warehousing
Introduction to data warehousing   Introduction to data warehousing
Introduction to data warehousing
 
Dw Concepts
Dw ConceptsDw Concepts
Dw Concepts
 
Data warehouse
Data warehouseData warehouse
Data warehouse
 
Data Warehouse and Data Mining
Data Warehouse and Data MiningData Warehouse and Data Mining
Data Warehouse and Data Mining
 
Dbm630_lecture02-03
Dbm630_lecture02-03Dbm630_lecture02-03
Dbm630_lecture02-03
 
Designing high performance datawarehouse
Designing high performance datawarehouseDesigning high performance datawarehouse
Designing high performance datawarehouse
 
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALADATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
 

Viewers also liked

Olap operations
Olap operationsOlap operations
Olap operations
Om Prakash
 
Multidimensional Data Analysis with Ruby (sample)
Multidimensional Data Analysis with Ruby (sample)Multidimensional Data Analysis with Ruby (sample)
Multidimensional Data Analysis with Ruby (sample)
Raimonds Simanovskis
 
Multidimensional scaling
Multidimensional scalingMultidimensional scaling
Multidimensional scaling
H9460730008
 
Multidimentional data model
Multidimentional data modelMultidimentional data model
Multidimentional data model
jagdish_93
 

Viewers also liked (20)

Online analytical processing
Online analytical processingOnline analytical processing
Online analytical processing
 
OLAP
OLAPOLAP
OLAP
 
OLAP
OLAPOLAP
OLAP
 
Online analytical processing (olap) tools
Online analytical processing (olap) toolsOnline analytical processing (olap) tools
Online analytical processing (olap) tools
 
Olap ppt
Olap pptOlap ppt
Olap ppt
 
Online Analytical Processing
Online Analytical ProcessingOnline Analytical Processing
Online Analytical Processing
 
Olap operations
Olap operationsOlap operations
Olap operations
 
OLAP & DATA WAREHOUSE
OLAP & DATA WAREHOUSEOLAP & DATA WAREHOUSE
OLAP & DATA WAREHOUSE
 
OLAP OnLine Analytical Processing
OLAP OnLine Analytical ProcessingOLAP OnLine Analytical Processing
OLAP OnLine Analytical Processing
 
Oltp vs olap
Oltp vs olapOltp vs olap
Oltp vs olap
 
Multidimensional models with Analysis Services 2014
Multidimensional models with Analysis Services 2014Multidimensional models with Analysis Services 2014
Multidimensional models with Analysis Services 2014
 
Multidimensional Data Analysis with Ruby (sample)
Multidimensional Data Analysis with Ruby (sample)Multidimensional Data Analysis with Ruby (sample)
Multidimensional Data Analysis with Ruby (sample)
 
Lesson 7 Waste from Nuclear Power Plants | The Harnessed Atom (2016)
Lesson 7 Waste from Nuclear Power Plants | The Harnessed Atom (2016)Lesson 7 Waste from Nuclear Power Plants | The Harnessed Atom (2016)
Lesson 7 Waste from Nuclear Power Plants | The Harnessed Atom (2016)
 
Business Intelligence: Multidimensional Analysis
Business Intelligence: Multidimensional AnalysisBusiness Intelligence: Multidimensional Analysis
Business Intelligence: Multidimensional Analysis
 
Online analytical processing
Online analytical processingOnline analytical processing
Online analytical processing
 
Hr Analytics: Danger or New Perspective for HRM
Hr Analytics: Danger or New Perspective  for HRMHr Analytics: Danger or New Perspective  for HRM
Hr Analytics: Danger or New Perspective for HRM
 
OLTP vs OLAP
OLTP vs OLAPOLTP vs OLAP
OLTP vs OLAP
 
Multidimensional Database Design & Architecture
Multidimensional Database Design & ArchitectureMultidimensional Database Design & Architecture
Multidimensional Database Design & Architecture
 
Multidimensional scaling
Multidimensional scalingMultidimensional scaling
Multidimensional scaling
 
Multidimentional data model
Multidimentional data modelMultidimentional data model
Multidimentional data model
 

Similar to Olap

Similar to Olap (20)

Data ware housing- Introduction to olap .
Data ware housing- Introduction to  olap .Data ware housing- Introduction to  olap .
Data ware housing- Introduction to olap .
 
02 Essbase
02 Essbase02 Essbase
02 Essbase
 
DWO -Pertemuan 1
DWO -Pertemuan 1DWO -Pertemuan 1
DWO -Pertemuan 1
 
Sppt chap008
Sppt chap008Sppt chap008
Sppt chap008
 
Association Rules
Association RulesAssociation Rules
Association Rules
 
Association Rules
Association RulesAssociation Rules
Association Rules
 
Essbase intro
Essbase introEssbase intro
Essbase intro
 
Intro to Data warehousing Lecture 06
Intro to Data warehousing   Lecture 06Intro to Data warehousing   Lecture 06
Intro to Data warehousing Lecture 06
 
BDA305 NEW LAUNCH! Intro to Amazon Redshift Spectrum: Now query exabytes of d...
BDA305 NEW LAUNCH! Intro to Amazon Redshift Spectrum: Now query exabytes of d...BDA305 NEW LAUNCH! Intro to Amazon Redshift Spectrum: Now query exabytes of d...
BDA305 NEW LAUNCH! Intro to Amazon Redshift Spectrum: Now query exabytes of d...
 
IT301-Datawarehousing (1) and its sub topics.pptx
IT301-Datawarehousing (1) and its sub topics.pptxIT301-Datawarehousing (1) and its sub topics.pptx
IT301-Datawarehousing (1) and its sub topics.pptx
 
Data Warehousing for students educationpptx
Data Warehousing for students educationpptxData Warehousing for students educationpptx
Data Warehousing for students educationpptx
 
Project report aditi paul1
Project report aditi paul1Project report aditi paul1
Project report aditi paul1
 
Expert talk
Expert talkExpert talk
Expert talk
 
1.1 data analytics case studies and examples
1.1 data analytics case studies and examples1.1 data analytics case studies and examples
1.1 data analytics case studies and examples
 
How to View Dashboard on Shoppazy
How to View Dashboard on ShoppazyHow to View Dashboard on Shoppazy
How to View Dashboard on Shoppazy
 
ch19.ppt
ch19.pptch19.ppt
ch19.ppt
 
ch19.ppt
ch19.pptch19.ppt
ch19.ppt
 
Data Warehousing
Data WarehousingData Warehousing
Data Warehousing
 
Datawarehosuing
DatawarehosuingDatawarehosuing
Datawarehosuing
 
BIG MART SALES.pptx
BIG MART SALES.pptxBIG MART SALES.pptx
BIG MART SALES.pptx
 

More from Salahaddin University-Erbil

More from Salahaddin University-Erbil (8)

C++ for beginners
C++ for beginnersC++ for beginners
C++ for beginners
 
HTML for beginners
HTML for beginnersHTML for beginners
HTML for beginners
 
Advanced Java Topics
Advanced Java TopicsAdvanced Java Topics
Advanced Java Topics
 
Java for C++ programers
Java for C++ programersJava for C++ programers
Java for C++ programers
 
Reporter 6 web
Reporter  6 webReporter  6 web
Reporter 6 web
 
Object-Oriented Programming Using C++
Object-Oriented Programming Using C++Object-Oriented Programming Using C++
Object-Oriented Programming Using C++
 
Introduction to Procedural Programming in C++
Introduction to Procedural Programming in C++Introduction to Procedural Programming in C++
Introduction to Procedural Programming in C++
 
40 Nawawi
40 Nawawi40 Nawawi
40 Nawawi
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Olap

  • 1. On-Line Application Processing Warehousing Data Cubes Data Mining
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11. Visualization – Star Schema Dimension Table (Beers) Dimension Table (etc.) Dimension Table (Drinkers) Dimension Table (Bars) Fact Table - Sales Dimension Attrs. Dependent Attrs.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25. Visualization - Data Cubes price bar beer drinker
  • 26.
  • 27. Visualization - Data Cube w/ Aggregation price bar beer drinker SUM over all Drinkers
  • 28.
  • 29.
  • 30.
  • 31.
  • 32. Roll Up and Drill Down $ of Anheuser-Busch by drinker/bar $ of A-B / drinker Roll up by Bar $ of A-B Beers / drinker Drill down by Beer 40 31 38 Blue Chalk 42 36 50 Nut- House 30 33 45 Joe’s Bar Mary Bob Jim 112 100 133 Mary Bob Jim 35 40 48 Bud Light 37 31 45 M’lob 40 29 40 Bud Mary Bob Jim
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.