CSE 5331/7331 F'071 CSE 5331/7331 Fall 2007 Dimensional Modeling Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist University.

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:
OLAP Services Business Intelligence Solutions. Agenda Definition of OLAP Types of OLAP Definition of Cube Definition of DMR Differences between Cube and.
Data Warehousing M R BRAHMAM.
Jennifer Widom On-Line Analytical Processing (OLAP) Introduction.
Advanced Querying OLAP Part 2. Context OLAP systems for supporting decision making. Components: –Dimensions with hierarchies, –Measures, –Aggregation.
13 Chapter 13 The Data Warehouse Hachim Haddouti.
Chapter 13 The Data Warehouse
DATA WAREHOUSE (Muscat, Oman).
Components of the Data Warehouse Michael A. Fudge, Jr.
Online Analytical Processing (OLAP) Hweichao Lu CS157B-02 Spring 2007.
INFORMATION RETRIEVAL
Database Management Systems, 2 nd Edition. R. Ramakrishnan and J. Gehrke1 Decision Support Chapter 23.
Week 6 Lecture The Data Warehouse Samuel Conn, Asst. Professor
SQL Analysis Services Microsoft® SQL Server 2005 Analysis Services provides unified, fully integrated views of your business data to support online.
Data Warehouse & Data Mining
On-Line Analytic Processing Chetan Meshram Class Id:221.
Multi-Dimensional Databases & Online Analytical Processing This presentation uses some materials from: “ An Introduction to Multidimensional Database Technology,
DW-1: Introduction to Data Warehousing. Overview What is Database What Is Data Warehousing Data Marts and Data Warehouses The Data Warehousing Process.
Ahsan Abdullah 1 Data Warehousing Lecture-11 Multidimensional OLAP (MOLAP) Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for.
OnLine Analytical Processing (OLAP)
Datawarehouse Objectives
1 Data Warehouses BUAD/American University Data Warehouses.
OLAP & DSS SUPPORT IN DATA WAREHOUSE By - Pooja Sinha Kaushalya Bakde.
Data Warehousing.
Module 1: Introduction to Data Warehousing and OLAP
BI Terminologies.
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
Decision Support and Date Warehouse Jingyi Lu. Outline Decision Support System OLAP vs. OLTP What is Date Warehouse? Dimensional Modeling Extract, Transform,
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
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.
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”
1 On-Line Analytic Processing Warehousing Data Cubes.
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.
What is OLAP?.
Data Warehousing.
Advanced Database Concepts
The Data Warehouse Chapter Operational Databases = transactional database  designed to process individual transaction quickly and efficiently.
1 Database Systems, 8 th Edition 1 Chapter 13 Business Intelligence and Data Warehouses Objectives In this chapter, you will learn: –How business intelligence.
CS 157B: Database Management Systems II April 10 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron Mak.
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.
SQL Server Analysis Services Understanding Unified Dimension Model (UDM)
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.
Pindaro Demertzoglou Data Resource Management – MGMT 4170 Lally School of Management Rensselaer Polytechnic Institute.
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,...
11/20/ :11 AMData Mining 1 Data Mining – CSE 9033 Chapter – 1; Data Warehousing Dr. Goutam Sarker, B.E., M.E., Ph.D.(Engineering), Fellow: IE(I),
Introduction to SQL Server Analysis Services
Data Warehousing CIS 4301 Lecture Notes 4/20/2006.
Chapter 13 Business Intelligence and Data Warehouses
On-Line Analytic Processing
Chapter 13 The Data Warehouse
Data Warehouse.
On-Line Analytical Processing (OLAP)
Implementing Data Models & Reports with Microsoft SQL Server
Data Warehouse and OLAP
Introduction of Week 9 Return assignment 5-2
DATA CUBES E0 261 Jayant Haritsa Computer Science and Automation
Data Warehouse and OLAP
Presentation transcript:

CSE 5331/7331 F'071 CSE 5331/7331 Fall 2007 Dimensional Modeling Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist University Some slides extracted from Data Mining, Introductory and Advanced Topics, Prentice Hall, 2002.

2CSE 5331/7331 F'07 Dimensional Modeling View data in a hierarchical manner more as business executives might View data in a hierarchical manner more as business executives might Useful in decision support systems and mining Useful in decision support systems and mining Dimension: collection of logically related attributes; axis for modeling data. Dimension: collection of logically related attributes; axis for modeling data. Facts: data stored Facts: data stored Ex: Dimensions – products, locations, date Ex: Dimensions – products, locations, date Facts – quantity, unit price Facts – quantity, unit price

3CSE 5331/7331 F'07 Multidimensional Model Example Fig 2 [1]

4CSE 5331/7331 F'07 Cube view of Data Fig 4 [1]

5CSE 5331/7331 F'07 Aggregation Hierarchies

6CSE 5331/7331 F'07 Multidimensional Schemas Star Schema shows facts and dimensions Star Schema shows facts and dimensions –Center of the star has facts shown in fact tables –Outside of the facts, each diemnsion is shown separately in dimension tables –Access to fact table from dimension table via join SELECT Quantity, Price FROM Facts, Location Where (Facts.LocationID = Location.LocationID) and (Location.City = ‘Dallas’) –View as relations, problem volume of data and indexing

7CSE 5331/7331 F'07 Star Schema

8CSE 5331/7331 F'07 Flattened Star

9CSE 5331/7331 F'07 Normalized Star

10CSE 5331/7331 F'07 Snowflake Schema

11CSE 5331/7331 F'07 OLAP Introduction OLAP by Example OLAP by Example h/index.htm h/index.htm What is OLAP? What is OLAP?

12CSE 5331/7331 F'07 OLAP Online Analytic Processing (OLAP): provides more complex queries than OLTP. Online Analytic Processing (OLAP): provides more complex queries than OLTP. OnLine Transaction Processing (OLTP): traditional database/transaction processing. OnLine Transaction Processing (OLTP): traditional database/transaction processing. Dimensional data; cube view Dimensional data; cube view Support ad hoc querying Support ad hoc querying Require analysis of data Require analysis of data Can be thought of as an extension of some of the basic aggregation functions available in SQL Can be thought of as an extension of some of the basic aggregation functions available in SQL OLAP tools may be used in DSS systems OLAP tools may be used in DSS systems Mutlidimentional view is fundamental Mutlidimentional view is fundamental

13CSE 5331/7331 F'07 OLAP Implementations MOLAP (Multidimensional OLAP) MOLAP (Multidimensional OLAP) –Multidimential Database (MDD) –Specialized DBMS and software system capable of supporting the multidimensional data directly –Data stored as an n-dimensional array (cube) –Indexes used to speed up processing ROLAP (Relational OLAP) ROLAP (Relational OLAP) –Data stored in a relational database –ROLAP server (middleware) creates the multidimensional view for the user –Less Complex; Less efficient HOLAP (Hybrid OLAP) HOLAP (Hybrid OLAP) –Not updated frequently – MDD –Updated frequently - RDB

14CSE 5331/7331 F'07 OLAP Operations Single CellMultiple CellsSliceDice Roll Up Drill Down

15CSE 5331/7331 F'07 OLAP Operations Simple query – single cell in the cube Simple query – single cell in the cube Slice – Look at a subcube to get more specific information Slice – Look at a subcube to get more specific information Dice – Rotate cube to look at another dimension Dice – Rotate cube to look at another dimension Roll Up – Dimension Reduction; Aggregation Roll Up – Dimension Reduction; Aggregation Drill Down Drill Down Visualization: These operations allow the OLAP users to actually “see” results of an operation. Visualization: These operations allow the OLAP users to actually “see” results of an operation.

16CSE 5331/7331 F'07 Relationship Between Topcs

17CSE 5331/7331 F'07 Decision Support Systems Tools and computer systems that assist management in decision making Tools and computer systems that assist management in decision making What if types of questions What if types of questions High level decisions High level decisions Data warehouse – data which supports DSS Data warehouse – data which supports DSS

18CSE 5331/7331 F'07 Starflake Fig 2 [4]

19CSE 5331/7331 F'07 Hierarchy of Data Cubes Fig 4 [4]

20CSE 5331/7331 F'07 Unified Dimensional Model Microsoft Cube View Microsoft Cube View SQL Server 2005 SQL Server us/library/ms aspx us/library/ms aspx ChsJ1un_2s41jm9Iyg!325.entry ChsJ1un_2s41jm9Iyg!325.entry MDX AS2005 MDX AS us/library/aa216767(SQL.80).aspx us/library/aa216767(SQL.80).aspx

21CSE 5331/7331 F'07 Bibliography [1] Anne-Muriel Arigon, Anne Tchounikine, and Maryvonne Miquel, “Handling Multiple Points of View in a Multimedia Data Warehouse,” ACM Transactions on Multimedia Computing, Communications and Applications, Vol. 2, No. 3, August 2006, Pages 199–218. [2] S. Nicholson, “The Bibliomining Process: Data Warehousing and Data Mining for Library Decision-Making,” Information Technology and Libraries, 22(4), [3] S. Nicholson, “The Basis for Biliomining: Frameworks for Bringing Together Usage-Based Data Mining and Bibliometrics through Data Warehousing in Digital Library Services,” Information Processing & Management, 42(3), May 2006, pp [4] Jane You, Tharam Dillon, James Liu, Edwige Pissaloux, “On Hierarchical Multimedia Information Retrieval,” You, J.; Proceedings of the 2001 International Conference on Image Processing, 7-10 Oct 2001, pp 729 – 732. [5] Torsten Priebe and Gunther Pernul, “Ontology-based Integration of OLAP and Information Retrieval,” Proceedings of the 14 th International Workshop on Database and expert Systems Applications, 2003.