Jennifer Widom On-Line Analytical Processing (OLAP) Introduction.

Slides:



Advertisements
Similar presentations
OLAP Tuning. Outline OLAP 101 – Data warehouse architecture – ROLAP, MOLAP and HOLAP Data Cube – Star Schema and operations – The CUBE operator – Tuning.
Advertisements

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:
Dimensional Modeling Business Intelligence Solutions.
Data Warehousing - 2 ISYS 650. Data Warehouse Design - Star Schema - Dimension tables – contain descriptions about the subjects of the business such as.
2/10/05Salman Azhar: Database Systems1 On-Line Analytical Processing Salman Azhar Warehousing Data Cubes Data Mining These slides use some figures, definitions,
Decision Support and Data Warehouse. Decision supports Systems Components Data management function –Data warehouse Model management function –Analytical.
OLAP. Overview Traditional database systems are tuned to many, small, simple queries. Some new applications use fewer, more time-consuming, analytic queries.
Data Cube and OLAP Server
Advanced Querying OLAP Part 2. Context OLAP systems for supporting decision making. Components: –Dimensions with hierarchies, –Measures, –Aggregation.
Business Intelligence. On-Line Analytical Processing (OLAP) Tools The use of a set of graphical tools that provides users with multidimensional views.
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.
DATA WAREHOUSE (Muscat, Oman).
On-Line Application Processing Warehousing Data Cubes Data Mining 1.
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,
© 2014 Zvi M. Kedem 1 Unit 11 Online Analytical Processing (OLAP) Basic Concepts.
Database Management Systems, 2 nd Edition. R. Ramakrishnan and J. Gehrke1 Decision Support Chapter 23.
Joachim Hammer 1 Data Warehousing Overview, Terminology, and Research Issues Joachim Hammer.
Week 6 Lecture The Data Warehouse Samuel Conn, Asst. Professor
©Silberschatz, Korth and Sudarshan18.1Database System Concepts - 5 th Edition, Aug 26, 2005 Buzzword List OLTP – OnLine Transaction Processing (normalized,
On-Line Analytic Processing Chetan Meshram Class Id:221.
OnLine Analytical Processing (OLAP)
Cube Intro. Decision Making Effective decision making Goal: Choice that moves an organization closer to an agreed-on set of goals in a timely manner Goal:
Presented By: Muhammad Rizvi Raghuram Vempali Surekha Vemuri.
Data Warehouse Design Xintao Wu University of North Carolina at Charlotte Nov 10, 2008.
Data Warehousing.
Roadmap 1.What is the data warehouse, data mart 2.Multi-dimensional data modeling 3.Data warehouse design – schemas, indices 4.The Data Cube operator –
October 28, Data Warehouse Architecture Data Sources Operational DBs other sources Analysis Query Reports Data mining Front-End Tools OLAP Engine.
BUSINESS ANALYTICS AND DATA VISUALIZATION
Data Warehousing. Databases support: Transaction Processing Systems –operational level decision –recording of transactions Decision Support Systems –tactical.
Decision Support and Date Warehouse Jingyi Lu. Outline Decision Support System OLAP vs. OLTP What is Date Warehouse? Dimensional Modeling Extract, Transform,
13 1 Chapter 13 The Data Warehouse Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Ch3 Data Warehouse Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2009.
Winter 2006Winter 2002 Keller, Ullman, CushingJudy Cushing 19–1 Warehousing The most common form of information integration: copy sources into a single.
Ayyat IT Group Murad Faridi Roll NO#2492 Muhammad Waqas Roll NO#2803 Salman Raza Roll NO#2473 Junaid Pervaiz Roll NO#2468 Instructor :- “ Madam Sana Saeed”
Fox MIS Spring 2011 Data Warehouse Week 8 Introduction of Data Warehouse Multidimensional Analysis: OLAP.
1 On-Line Analytic Processing Warehousing Data Cubes.
Decision supports Systems Components
ADVANCED TOPICS IN RELATIONAL DATABASES Spring 2011 Instructor: Hassan Khosravi.
Business Intelligence Transparencies 1. ©Pearson Education 2009 Objectives What business intelligence (BI) represents. The technologies associated with.
OLAP On Line Analytic Processing. OLTP On Line Transaction Processing –support for ‘real-time’ processing of orders, bookings, sales –typically access.
CSE 5331/7331 F'071 CSE 5331/7331 Fall 2007 Dimensional Modeling Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist University.
Data Warehousing.
Advanced Database Concepts
The Data Warehouse Chapter Operational Databases = transactional database  designed to process individual transaction quickly and efficiently.
Database Management Systems, 2 nd Edition. R. Ramakrishnan and J. Gehrke1 Data Warehousing and Decision Support.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Data Warehousing and Decision Support Chapter 25.
1 Database Systems, 8 th Edition Star Schema Data modeling technique –Maps multidimensional decision support data into relational database Creates.
Introduction to OLAP and Data Warehouse Assoc. Professor Bela Stantic September 2014 Database Systems.
An Overview of Data Warehousing and OLAP Technology
Data Warehouses and OLAP 1.  Review Questions ◦ Question 1: OLAP ◦ Question 2: Data Warehouses ◦ Question 3: Various Terms and Definitions ◦ Question.
Databases 2 On-Line Application Processing: Warehousing, Data Cubes, Data Mining.
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,...
Data Analysis Decision Support Systems Data Analysis and OLAP Data Warehousing.
On-Line Application Processing
Pertemuan <<13>> Data Warehousing dan Decision Support
Data Warehousing CIS 4301 Lecture Notes 4/20/2006.
Data Warehouse.
On-Line Analytic Processing
Data warehouse and OLAP
On-Line Analytic Processing
On-Line Analytical Processing (OLAP)
Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2009
On-Line Application Processing
Data Warehousing.
Presentation transcript:

Jennifer Widom On-Line Analytical Processing (OLAP) Introduction

Jennifer Widom OLAP: Intro Two broad types of database activity  OLTP – Online Transaction Processing – Short transactions – Simple queries – Touch small portions of data – Frequent updates  OLAP – Online Analytical Processing – Long transactions – Complex queries – Touch large portions of the data – Infrequent updates

Jennifer Widom More terminology  Data warehousing Bring data from operational (OLTP) sources into a single “warehouse” for (OLAP) analysis  Decision support system (DSS) Infrastructure for data analysis E.g., data warehouse tuned for OLAP OLAP: Intro

Jennifer Widom “Star Schema”  Fact table Updated frequently, often append-only, very large  Dimension tables Updated infrequently, not as large OLAP: Intro

Jennifer Widom Star Schema – fact table references dimension tables OLAP: Intro Sales(storeID, itemID, custID, qty, price) Store(storeID, city, state) Item(itemID, category, brand, color, size) Customer(custID, name, address)

Jennifer Widom OLAP queries Join  Filter  Group  Aggregate Performance – Inherently very slow: special indexes, query processing techniques – Extensive use of materialized views OLAP: Intro Sales(storeID, itemID, custID, qty, price) Store(storeID, city, state) Item(itemID, category, brand, color, size) Customer(custID, name, address)

Jennifer Widom Data Cube (a.k.a. multidimensional OLAP)  Dimension data forms axes of “cube”  Fact (dependent) data in cells  Aggregated data on sides, edges, corner OLAP: Intro

Jennifer Widom Fact table uniqueness for data cube  If dimension attributes not key, must aggregate  Date can be used to create key Dimension or dependent? OLAP: Intro Sales(storeID, itemID, custID, qty, price)

Jennifer Widom Drill-down and Roll-up OLAP: Intro

Jennifer Widom Drill-down and Roll-up Examining summary data, break out by dimension attribute OLAP: Intro Select state, brand, Sum(qty*price) From Sales F, Store S, Item I Where F.storeID = S.storeID And F.itemID = I.itemID Group By state, brand

Jennifer Widom Drill-down and Roll-up Examining data, summarize by dimension attribute OLAP: Intro Select state, brand, Sum(qty*price) From Sales F, Store S, Item I Where F.storeID = S.storeID And F.itemID = I.itemID Group By state, brand

Jennifer Widom SQL Constructs With Cube and With Rollup Add to result: faces, edges, and corner of cube using NULL values OLAP: Intro Select dimension-attrs, aggregates From tables Where conditions Group By dimension-attrs With Cube

Jennifer Widom SQL Constructs With Cube and With Rollup For hierarchical dimensions, portion of With Cube OLAP: Intro Select dimension-attrs, aggregates From tables Where conditions Group By dimension-attrs With Rollup

Jennifer Widom OLAP: Intro Two broad types of database activity  OLTP – Online Transaction Processing – Short transactions – Simple queries – Touch small portions of data – Frequent updates  OLAP – Online Analytical Processing – Long transactions – Complex queries – Touch large portions of the data – Infrequent updates  Star schemas  Data cubes  With Cube and With Rollup  Special indexes and query processing techniques  Star schemas  Data cubes  With Cube and With Rollup  Special indexes and query processing techniques