Ahsan Abdullah 1 Data Warehousing Lecture-11 Multidimensional OLAP (MOLAP) Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for.

Slides:



Advertisements
Similar presentations
BY LECTURER/ AISHA DAWOOD DW Lab # 2. LAB EXERCISE #1 Oracle Data Warehousing Goal: Develop an application to implement defining subject area, design.
Advertisements

OLAP Tuning. Outline OLAP 101 – Data warehouse architecture – ROLAP, MOLAP and HOLAP Data Cube – Star Schema and operations – The CUBE operator – Tuning.
Online Analytical Processing OLAP
Data Warehousing CPS216 Notes 13 Shivnath Babu. 2 Warehousing l Growing industry: $8 billion way back in 1998 l Range from desktop to huge: u Walmart:
OLAP Services Business Intelligence Solutions. Agenda Definition of OLAP Types of OLAP Definition of Cube Definition of DMR Differences between Cube and.
Data Sources Data Warehouse Analysis Results Data visualisation Analytical tools OLAP Data Mining Overview of Business Intelligence Data visualisation.
Data Warehouse Models and OLAP Operations
Advanced Querying OLAP Part 2. Context OLAP systems for supporting decision making. Components: –Dimensions with hierarchies, –Measures, –Aggregation.
OLAP CS 543 – Data Warehousing. CS Data Warehousing (Sp ) - Asim LUMS2 Where Does OLAP Fit In? (1) OLAP = On-line analytical processing.
INTRODUCTION TO OLAP MIS 497. Why OLAP? Online Analytical Processing vs. Online Transaction Processing Online Analytical Processing vs. Online Transaction.
Lecture-33 DWH Implementation: Goal Driven Approach (1)
Data Warehousing. On-Line Analytical Processing (OLAP) Tools The use of a set of graphical tools that provides users with multidimensional views of their.
CSE6011 Warehouse Models & Operators  Data Models  relations  stars & snowflakes  cubes  Operators  slice & dice  roll-up, drill down  pivoting.
Microsoft SQL Server 2012 Analysis Services (SSAS) Reporting Services (SSRS)
Online Analytical Processing (OLAP) Hweichao Lu CS157B-02 Spring 2007.
OLAP OPERATIONS. OLAP ONLINE ANALYTICAL PROCESSING OLAP provides a user-friendly environment for Interactive data analysis. In the multidimensional model,
Vs. OLAP. Geography heirarchy Sales campaigns Other dimension Products Time Sales, profit, costs, key numbers, etc. Sales organization Star Scheme.
Database Management Systems, 2 nd Edition. R. Ramakrishnan and J. Gehrke1 Decision Support Chapter 23.
SQL Analysis Services Microsoft® SQL Server 2005 Analysis Services provides unified, fully integrated views of your business data to support online.
Ahsan Abdullah 1 Data Warehousing Lecture-12 Relational OLAP (ROLAP) Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for Agro-Informatics.
Override the title Chris Harrington
Ahsan Abdullah 1 Data Warehousing Lecture-17 Issues of ETL Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for Agro-Informatics.
Introduction to OLAP / Microsoft Analysis Services
Multi-Dimensional Databases & Online Analytical Processing This presentation uses some materials from: “ An Introduction to Multidimensional Database Technology,
Dr. Abdul Basit Siddiqui Assistant Professor FURC, Islamabad.
OnLine Analytical Processing (OLAP)
1 Data Warehousing Lecture-13 Dimensional Modeling (DM) Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for Agro-Informatics Research.
Ahsan Abdullah 1 Data Warehousing Lecture-7De-normalization Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for Agro-Informatics.
DWH-Ahsan Abdullah 1 Data Warehousing Lecture-4 Introduction and Background Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for.
OLAP & DSS SUPPORT IN DATA WAREHOUSE By - Pooja Sinha Kaushalya Bakde.
Ahsan Abdullah 1 Data Warehousing Lecture-18 ETL Detail: Data Extraction & Transformation Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. &
Ahsan Abdullah 1 Data Warehousing Lecture-9 Issues of De-normalization Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for Agro-Informatics.
Data Warehousing.
1 Data Warehousing Lecture-14 Process of Dimensional Modeling Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for Agro-Informatics.
BI Terminologies.
Ahsan Abdullah 1 Data Warehousing Lecture-10 Online Analytical Processing (OLAP) Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center.
BUSINESS ANALYTICS AND DATA VISUALIZATION
Designing Aggregations. Performance Fundamentals - Aggregations Pre-calculated summaries of data Intersections of levels from each dimension Tradeoff.
1 Data Warehousing Lecture-15 Issues of Dimensional Modeling Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for Agro-Informatics.
Data Warehousing Lecture-30 What can Data Mining do? Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for Agro-Informatics Research.
UNIT-II Principles of dimensional modeling
1 On-Line Analytic Processing Warehousing Data Cubes.
Data Warehousing Multidimensional Analysis
A POWER OF OLAP TECHNOLOGY National Technical University of Ukraine “Kiev Polytechnic Institute” Heat and energy design faculty Department of automation.
What is OLAP?.
CSE 5331/7331 F'071 CSE 5331/7331 Fall 2007 Dimensional Modeling Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist University.
Copyright© 2014, Sira Yongchareon Department of Computing, Faculty of Creative Industries and Business Lecturer : Dr. Sira Yongchareon ISCG 6425 Data Warehousing.
Data Warehousing.
Database Management Systems, 2 nd Edition. R. Ramakrishnan and J. Gehrke1 Data Warehousing and Decision Support.
1 Online Analytical Processing (OLAP) Anjali Gupta Mithun Arora Aameek Singh Kranthi Kumar.
Ahsan Abdullah 1 Data Warehousing Lecture-8 De-normalization Techniques Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for Agro-Informatics.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Data Warehousing and Decision Support Chapter 25.
1 Copyright © 2006, Oracle. All rights reserved. Defining OLAP Concepts.
Introduction to OLAP and Data Warehouse Assoc. Professor Bela Stantic September 2014 Database Systems.
Data Warehousing COMP3017 Advanced Databases Dr Nicholas Gibbins –
Or How I Learned to Love the Cube…. Alexander P. Nykolaiszyn BLOG:
Data Warehousing and OLAP Outline u Models & operations u Implementing a warehouse u Future directions.
CSE6011 Implementing a Warehouse  Monitoring: Sending data from sources  Integrating: Loading, cleansing,...  Processing: Query processing, indexing,...
Lecture-3 Introduction and Background
Data Warehousing CIS 4301 Lecture Notes 4/20/2006.
Lecture-32 DWH Lifecycle: Methodologies
On-Line Analytic Processing
OLAP – On Line Analytical Processing
Three tier Architecture of Data Warehousing
What is OLAP OLAP allows to model data in a multidimensional way like a data cube in order to look for the data from many perspectives.
Chapter 5: Advanced SQL Database System concepts,6th Ed.
Types of OLAP Servers.
Lecture-35 DWH Implementation: Pitfalls, Mistakes, Keys
Online analytical processing (OLAP) is a category of software technology that enables analysts, managers, and executives to gain insight into data through.
Presentation transcript:

Ahsan Abdullah 1 Data Warehousing Lecture-11 Multidimensional OLAP (MOLAP) Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for Agro-Informatics Research National University of Computers & Emerging Sciences, Islamabad

Ahsan Abdullah 2 Multidimensional OLAP (MOLAP)

Ahsan Abdullah 3 OLAP Implementations 1. MOLAP: OLAP implemented with a multi- dimensional data structure. 2. ROLAP: OLAP implemented with a relational database. 3. HOLAP: OLAP implemented as a hybrid of MOLAP and ROLAP. 4. DOLAP: OLAP implemented for desktop decision support environments.

Ahsan Abdullah 4 MOLAP Implementations OLAP has historically been implemented using a multi_dimensional data structure or “cube”.  Dimensions are key business factors for analysis:  Geographies (city, district, division, province,...)  Products (item, product category, product department,...)  Dates (day, week, month, quarter, year,...)  Very high performance achieved by O(1) time lookup into “cube” data structure to retrieve pre_aggregated results.

Ahsan Abdullah 5 MOLAP Implementations  No standard query language for querying MOLAP -No SQL !  Vendors provide proprietary languages allowing business users to create queries that involve pivots, drilling down, or rolling up. -E.g. MDX of Microsoft -Languages generally involve extensive visual (click and drag) support. -Application Programming Interface (API)’s also provided for probing the cubes.

Ahsan Abdullah 6 Aggregations in MOLAP  Sales volume as a function of (i) product, (ii) time, and (iii) geography  A cube structure created to handle this. Dimensions: Product, Geography, Time Industry Category Product Hierarchical summarization paths Product Geog Time w1 w2 w3 w4 w5 w6 Milk Bread Eggs Butter Jam Juice N E W S Province Division District City Zone Year Quarter Month Week Day

Ahsan Abdullah 7 Cube operations  Drill down: get more details  e.g., given summarized sales as above, find breakup of sales by city within each region, or within Sindh  Rollup: summarize data  e.g., given sales data, summarize sales for last year by product category and region  Slice and dice: select and project  e.g.: Sales of soft-drinks in Karachi during last quarter  Pivot: change the view of data

Ahsan Abdullah 8 Drill-down Querying the cube Drill-Down Roll-Up

Ahsan Abdullah 9 Querying the cube: Pivoting

Ahsan Abdullah 10 MOLAP evaluation Advantages of MOLAP: Instant response (pre-calculated aggregates). Impossible to ask question without an answer. Value added functions (ranking, % change).

Ahsan Abdullah 11 MOLAP evaluation Drawbacks of MOLAP:  Long load time ( pre-calculating the cube may take days!).  Very sparse cube (wastage of space) for high cardinality (sometimes in small hundreds). e.g. number of heaters sold in Jacobabad or Sibi.

Ahsan Abdullah 12 MOLAP Implementation issues Maintenance issue: Every data item received must be aggregated into every cube (assuming “to-date” summaries are maintained). Lot of work. Maintenance issue: Every data item received must be aggregated into every cube (assuming “to-date” summaries are maintained). Lot of work. Storage issue: As dimensions get less detailed (e.g., year vs. day) cubes get much smaller, but storage consequences for building hundreds of cubes can be significant. Lot of space.

Ahsan Abdullah 13 Partitioned Cubes  To overcome the space limitation of MOLAP, the cube is partitioned.  The divide&conquer cube partitioning approach helps alleviate the scalability limitations of MOLAP implementation.  One logical cube of data can be spread across multiple physical cubes on separate (or same) servers.  Ideal cube partitioning is completely invisible to end users.  Performance degradation does occurs in case of a join across partitioned cubes.

Ahsan Abdullah 14 Partitioned Cubes: How it looks Like? Time Geography Men’s clothing Children clothing Bed linen Sales data cube partitioned at a major cotton products sale outlet Product

Ahsan Abdullah 15 Virtual Cubes Used to query two dissimilar cubes by creating a third “virtual” cube by a join between two cubes.  Logically similar to a relational view i.e. linking two (or more) cubes along common dimension(s).  Biggest advantage is saving in space by eliminating storage of redundant information. Example: Joining the store cube and the list price cube along the product dimension, to calculate the sale price without redundant storage of the sale price data.

Ahsan Abdullah 16 Summary