OLAP Operations. Online Analytical Processing (OLAP) Codd, OLAP. Data Warehousing and OLAP

Similar documents
Learning Objectives. Definition of OLAP Data cubes OLAP operations MDX OLAP servers

DATA WAREHOUSING - OLAP

CHAPTER 4 Data Warehouse Architecture

A Technical Review on On-Line Analytical Processing (OLAP)

14. Data Warehousing & Data Mining

DATA WAREHOUSING AND OLAP TECHNOLOGY

UNIT-3 OLAP in Data Warehouse

Unit -3. Learning Objective. Demand for Online analytical processing Major features and functions OLAP models and implementation considerations

OLAP Systems and Multidimensional Expressions I

CS2032 Data warehousing and Data Mining Unit II Page 1

Data Warehousing Systems: Foundations and Architectures

OLAP & DATA MINING CS561-SPRING 2012 WPI, MOHAMED ELTABAKH

Anwendersoftware Anwendungssoftwares a. Data-Warehouse-, Data-Mining- and OLAP-Technologies. Online Analytic Processing

Data Warehousing: Data Models and OLAP operations. By Kishore Jaladi

2074 : Designing and Implementing OLAP Solutions Using Microsoft SQL Server 2000

OLAP. Business Intelligence OLAP definition & application Multidimensional data representation

LITERATURE SURVEY ON DATA WAREHOUSE AND ITS TECHNIQUES

OLAP and Data Mining. Data Warehousing and End-User Access Tools. Introducing OLAP. Introducing OLAP

When to consider OLAP?

Bussiness Intelligence and Data Warehouse. Tomas Bartos CIS 764, Kansas State University

Part 22. Data Warehousing

1. OLAP is an acronym for a. Online Analytical Processing b. Online Analysis Process c. Online Arithmetic Processing d. Object Linking and Processing

Database Applications. Advanced Querying. Transaction Processing. Transaction Processing. Data Warehouse. Decision Support. Transaction processing

Data W a Ware r house house and and OLAP II Week 6 1

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 29-1

Data Warehouse: Introduction

Data Warehousing, OLAP, and Data Mining

OLAP Theory-English version

Concepts of Database Management Seventh Edition. Chapter 9 Database Management Approaches

IST722 Data Warehousing

OLAP Systems and Multidimensional Queries II

Data Warehousing. Outline. From OLTP to the Data Warehouse. Overview of data warehousing Dimensional Modeling Online Analytical Processing

Course 6234A: Implementing and Maintaining Microsoft SQL Server 2008 Analysis Services

Monitoring Genebanks using Datamarts based in an Open Source Tool

BUSINESS ANALYTICS AND DATA VISUALIZATION. ITM-761 Business Intelligence ดร. สล ล บ ญพราหมณ

Course DSS. Business Intelligence: Data Warehousing, Data Acquisition, Data Mining, Business Analytics, and Visualization

Hybrid Support Systems: a Business Intelligence Approach

Week 3 lecture slides

CHAPTER 5: BUSINESS ANALYTICS

OLAP and OLTP. AMIT KUMAR BINDAL Associate Professor M M U MULLANA

M Designing and Implementing OLAP Solutions Using Microsoft SQL Server Day Course

Chapter 5 Business Intelligence: Data Warehousing, Data Acquisition, Data Mining, Business Analytics, and Visualization

Week 13: Data Warehousing. Warehousing

CS Programming OLAP

Data Warehousing. Read chapter 13 of Riguzzi et al Sistemi Informativi. Slides derived from those by Hector Garcia-Molina

A Critical Review of Data Warehouse

While people are often a corporation s true intellectual property, data is what

University of Gaziantep, Department of Business Administration

Introduction to Data Warehousing. Ms Swapnil Shrivastava

Dimensional Modeling for Data Warehouse

BUILDING OLAP TOOLS OVER LARGE DATABASES

SAS BI Course Content; Introduction to DWH / BI Concepts

Building Cubes and Analyzing Data using Oracle OLAP 11g

CHAPTER 4: BUSINESS ANALYTICS

Data Warehousing Overview

Data Warehousing and Data Mining

Data analysis: tools and methods

Data Warehousing. Paper

Business Intelligence, Analytics & Reporting: Glossary of Terms

Oracle OLAP What's All This About?

CHAPTER SIX DATA. Business Intelligence The McGraw-Hill Companies, All Rights Reserved

Outline. Data Warehousing. What is a Warehouse? What is a Warehouse?

OLAP and Data Warehousing! Introduction!

This tutorial will help computer science graduates to understand the basic-toadvanced concepts related to data warehousing.

Course MIS. Foundations of Business Intelligence

SQL SERVER BUSINESS INTELLIGENCE (BI) - INTRODUCTION

Namrata 1, Dr. Saket Bihari Singh 2 Research scholar (PhD), Professor Computer Science, Magadh University, Gaya, Bihar

IT-Pruefungen.de. Hochwertige Qualität, neueste Prüfungsunterlagen.

Overview of Data Warehousing and OLAP

Reporting trends and pain points of current and new customers IBM Corporation

Multi-dimensional index structures Part I: motivation

Business Intelligence Solutions. Cognos BI 8. by Adis Terzić

Chapter 5. Warehousing, Data Acquisition, Data. Visualization

Foundations of Business Intelligence: Databases and Information Management

Data Warehousing and OLAP

Chapter 6 FOUNDATIONS OF BUSINESS INTELLIGENCE: DATABASES AND INFORMATION MANAGEMENT Learning Objectives

Delivering Business Intelligence With Microsoft SQL Server 2005 or 2008 HDT922 Five Days

Business Intelligence & Product Analytics

<Insert Picture Here> Enhancing the Performance and Analytic Content of the Data Warehouse Using Oracle OLAP Option

Dx and Microsoft: A Case Study in Data Aggregation

Safe Harbor Statement

Data Warehousing and Decision Support. Introduction. Three Complementary Trends. Chapter 23, Part A

Turkish Journal of Engineering, Science and Technology

Chapter 3, Data Warehouse and OLAP Operations

W H I T E P A P E R B u s i n e s s I n t e l l i g e n c e S o lutions from the Microsoft and Teradata Partnership

Data Mart/Warehouse: Progress and Vision

ORACLE OLAP. Oracle OLAP is embedded in the Oracle Database kernel and runs in the same database process

Foundations of Business Intelligence: Databases and Information Management

Business Intelligence

Data warehousing/dimensional modeling/ SAP BW 7.3 Concepts

Web Log Data Sparsity Analysis and Performance Evaluation for OLAP

Implementing Data Models and Reports with Microsoft SQL Server

Data Warehouses & OLAP

Data Warehousing OLAP

Migrating a Discoverer System to Oracle Business Intelligence Enterprise Edition

FEATURES TO CONSIDER IN A DATA WAREHOUSING SYSTEM

DATA WAREHOUSING APPLICATIONS: AN ANALYTICAL TOOL FOR DECISION SUPPORT SYSTEM

An Introduction to Data Warehousing. An organization manages information in two dominant forms: operational systems of

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Fall 2007 Lecture 16 - Data Warehousing


Transcription:

Online Analytical Processing (OLAP) Codd, 1993. Definition (The OLAP Council): a category of software technology that enables analysts, managers, and executives to gain insight into data through fast, consistent, interactive access to a wide variety of possible views of information that has been transformed from raw data to reflect the real dimensionality of the enterprise as understood by the user OLAP Operations 1 2 OLAP Support (almost) ad-hoc querying for business analyst Think in terms of spreadsheets View sales data by geography, time, or product Extend spreadsheet analysis model to work with warehouse data Large data sets Combine interactive queries with reporting functions Multidimensional view of data is the foundation of OLAP Data model, operations, etc. Data Warehousing and OLAP Although sometimes used interchangeably, the terms data warehousing and online analytical processing (OLAP) apply to different components of systems often referred to as decision support systems or business intelligence systems. Components of these types of systems include databases and applications that provide the tools analysts need to support organizational decision-making. 3 4 1

Data Warehousing and OLAP Data Warehousing and OLAP A data warehouse is a database containing data that usually represents the business history of an organization. This historical data is used for analysis that supports business decisions at many levels, from strategic planning to performance evaluation of a discrete organizational unit. Data in a data warehouse is organized to support analysis rather than to process real-time transactions as in online transaction processing systems (OLTP). Note for OLAP we need: Database (Data Warehouse Storage) OLAP Server OLAP Client (Like Data Analyzer or Excel) 5 6 OLAP stages picking the data from the data warehouse (DB) building the cube (OLAP SERVER) cube = pre-computation of all possible combinations The high performance comes from the fact that all the queries (combinations) have been anticipated. playing with the cube (OLAP CLIENT) slice-dice, roll-up/drill-down, etc. Three-Tier Decision Support Systems Warehouse database server Almost always a relational DBMS, rarely flat files OLAP servers Clients Query and reporting tools Analysis tools Data mining tools 7 8 2

The Complete Decision Support System OLAP Server: Query Engine Requirements Information Sources Semistructured Sources Data Warehouse Server (Tier 1) Data Warehouse OLAP Servers (Tier 2) e.g., MOLAP serve Clients (Tier 3) Analysis Aggregates (maintenance and querying) Decide what to precompute and when Query language to support multidimensional operations Operational DB s extract transform load refresh etc. serve e.g., ROLAP serve Query/Reporting Data Mining Standard SQL falls short Scalable query processing Data intensive and data selective queries Data Marts 9 10 OLAP Server Architectures ROLAP Relational OLAP (ROLAP) Multidimensional OLAP (MOLAP) Hybrid OLAP (HOLAP) Desktop OLAP (DOLAP) Relational OLAP (ROLAP) Use relational or extended-relational DBMS to store and manage warehouse data and OLAP middle ware to support missing pieces Include optimization of DBMS backend, implementation of aggregation navigation logic, and additional tools and services greater scalability 11 12 3

RDBMS Complicated SQL Results ROLAP RDBMS As-Is not Appropriate For OLAP n-dimensional Structure Summarization may not be possible End-User Confusion about SQL Query Tools Poor Performance Relational DB Server ROLAP SERVER OLAP CLIENT 13 14 Relational Table Product Region Sales Nuts East 50 Nuts West 60 Nuts Central 100 Screws East 40 Screws West 70 Screws Central 80 Bolts East 90 Bolts West 120 Bolts Central 140 Washers East 20 Washers West 10 Washers Central 30 2 Dimensional Matrix Sales Dimensioned By Products & Region East West Central Nuts 50 60 100 Screws 40 70 80 Bolts 90 120 140 Washers 20 10 30 No Standard SQL statement can return this structure of report 15 16 4

SQL Extensions for OLAP Extended family of aggregate functions rank( top 10), N_Tile (percentile, e.g., 30% for each product) Reporting features Matrix results Results of multiple group by s Running totals, cumulative totals Research on computing the cube efficiently Share work among multiple group-by operations Rollup requires single sort Papers by J. Gray (cube & roll-up, supported in SQL Server 6.5) and Red Brick (RISQL) GROUPING SETS SELECT COURSE, YEAR, AVG(grade) as GRADES_AVG FROM GRADES GROUP BY GROUPING SETS ((COURSE,YEAR),(COURSE),()) COURSE YEAR GRADES_AVG DB 1998 95.03 DB 1999 93.00 DB 94.01 DW 1998 90.00 DW 1999 95.00 DW 92.50 TOTAL 93.25 17 18 MDX = SQL for Cubes instead for tables SELECT { Route.nonground.Members } ON COLUMNS, {Time.[1st half].members } ON ROWS FROM TestCube WHERE ( [Measures].[Packages] ) MOLAP Multidimensional OLAP (MOLAP) Array-based storage structures Direct access to array data structures The First Generation OLAP. Good query performance Not Flexible Require Multi Dimensional Design Require Expensive IT Resources. very poor storage utilization when the data is sparse 19 20 5

Pure MOLAP Multi Dimensional DB HOLAP MOLAP SERVER OLAP CLIENT Multi Dimensional DB MOLAP SERVER OLAP CLIENT ROLAP SERVER 21 22 DOLAP DOLAP Desktop OLAP. For small databases. Easy to integrate. Complicated SQL RDBMS Results Relational DB Server ROLAP Engine+OLAP Client 23 24 6

Codd s Criteria for OLAP Multi- Dimensional Conceptual View Transparency Accessibility Different sources. Consistent Reporting Performance Dynamic Sparse Matrix Handling Multi- User Support Intuitive Data Manipulation Unlimited Dimensions and Aggregation Levels Codd's Paper 25 7