Dimensional Model January 14, 2003

Slides:



Advertisements
Similar presentations
Dimensional Modeling.
Advertisements

BY LECTURER/ AISHA DAWOOD DW Lab # 2. LAB EXERCISE #1 Oracle Data Warehousing Goal: Develop an application to implement defining subject area, design.
Dimensional Modeling Business Intelligence Solutions.
Dimensional Modeling CS 543 – Data Warehousing. CS Data Warehousing (Sp ) - Asim LUMS2 From Requirements to Data Models.
Data Warehouse IMS5024 – presented by Eder Tsang.
© Ron McFadyen1 Many-to-one-to-many We need information that can only be obtained by accessing two fact tables through a common dimension … drilling across.
Dimensional Modeling – Part 2
Data Warehousing Design Transparencies
MIS 451 Building Business Intelligence Systems Logical Design (3) – Design Multiple-fact Dimensional Model.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
Telecommunication Case Study CS 543 – Data Warehousing.
Principles of Dimensional Modeling
Data warehousing theory and modelling techniques Building Dimensional Models.
Agenda Common terms used in the software of data warehousing and what they mean. Difference between a database and a data warehouse - the difference in.
Sayed Ahmed Logical Design of a Data Warehouse.  Free Training and Educational Services  Training and Education in Bangla: Training and Education in.
Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013.
Dimensional model. What do we know so far about … FACTS? “What is the process measuring?” Fact types:  Numeric Additive Semi-additive Non-additive (avg,
Program Pelatihan Tenaga Infromasi dan Informatika Sistem Informasi Kesehatan Ari Cahyono.
Data Warehousing Concepts, by Dr. Khalil 1 Data Warehousing Design Dr. Awad Khalil Computer Science Department AUC.
DIMENSIONAL MODELLING. Overview Clearly understand how the requirements definition determines data design Introduce dimensional modeling and contrast.
Bus Architecture. Value Chain Identifies the natural logical flow of an organization’s primary activities Operational source systems produce snapshots.
Designing a Data Warehousing System. Overview Business Analysis Process Data Warehousing System Modeling a Data Warehouse Choosing the Grain Establishing.
More Dimensional Modeling. Facts Types of Fact Design Transactional Periodic Snapshot –Predictable time period –Ex. Monthly, yearly, etc. Accumulating.
UNIT-II Principles of dimensional modeling
CMPE 226 Database Systems October 21 Class Meeting Department of Computer Engineering San Jose State University Fall 2015 Instructor: Ron Mak
Foundations of Business Intelligence: Databases and Information Management.
CHAPTER 5 Data and Knowledge Management. CHAPTER OUTLINE 5.1 Managing Data 5.2 The Database Approach 5.3 Database Management Systems 5.4 Data Warehouses.
June 08, 2011 How to design a DATA WAREHOUSE Linh Nguyen (Elly)
Fundamentals of Information Systems, Sixth Edition Chapter 3 Database Systems, Data Centers, and Business Intelligence.
Last Updated : 26th may 2003 Center of Excellence Data Warehousing Introductionto Data Modeling.
1 Database Systems, 8 th Edition Star Schema Data modeling technique –Maps multidimensional decision support data into relational database Creates.
Physical Layer of a Repository. March 6, 2009 Agenda – What is a Repository? –What is meant by Physical Layer? –Data Source, Connection Pool, Tables and.
Building the Corporate Data Warehouse Pindaro Demertzoglou Data Resource Management.
Data Warehouse/Data Mart It’s all about the data.
Building the Corporate Data Warehouse Pindaro Demertzoglou Lally School of Management Data Resource Management.
CMPE 226 Database Systems April 12 Class Meeting Department of Computer Engineering San Jose State University Spring 2016 Instructor: Ron Mak
Data Warehousing Design DT211/4. Designing Data Warehouses To begin a data warehouse project, we need to find answers for questions such as: – Which user.
Chapter 13 Business Intelligence and Data Warehouses
Data Warehouse.
Applying Data Warehouse Techniques
Database Management  .
Databases and Data Warehouses Chapter 3
Assignment 2 Due Thursday Feb 9, 2006
Overview and Fundamentals
Inventory is used to illustrate:
Retail Sales is used to illustrate a first dimensional model
Entity Relationships and Normalization
CMPE 226 Database Systems April 11 Class Meeting
Order Database – ER Diagram
MANAGING DATA RESOURCES
An Introduction to Data Warehousing
Typically data is extracted from multiple sources
Data Warehouse Architecture
Retail Sales is used to illustrate a first dimensional model
Warehouse Architecture
Data Warehouse Architecture
Data warehouse architecture CIF, DM Bus Matrix Star schema
Dimensional Modeling.
Warehouse Implementation Lifecycle Project planning
Introduction of Week 9 Return assignment 5-2
Point-in-time balances Physical database Aggregation ETL Architecture
Retail Sales is used to illustrate a first dimensional model
Role Playing Dimensions (p )
Dimensional Model January 16, 2003
Applying Data Warehouse Techniques
Examines blended and separate transaction schemas
Review of Major Points Star schema Slowly changing dimensions Keys
Applying Data Warehouse Techniques
Review of Major Points Star schema Slowly changing dimensions Keys
Page 37 Figure 2.3, with attributes excluded
Presentation transcript:

Dimensional Model January 14, 2003 Ch 5 Dimensional Model Composed of one fact table that participates in many one-to-many relationships with dimension tables. Primary key of the fact table is the catenation of the primary keys of the dimension tables. Alternatively, we can consider a dimensional model to comprise a many-to-many-to-…-to-many relationship amongst dimension tables. (The fact table is the implementation of the relationship.) Jan 2003 91.4904 Ron McFadyen

Normalized ER Models and the DM Page 146-147 A single entity relationship diagram breaks down into multiple fact table diagrams. Jan 2003 91.4904 Ron McFadyen

Advantages of the dimensional approach Page 147-150 Advantages of the dimensional approach: DM yields predictable standard models. Report writers and query tools can make strong assumptions regarding the user interface. SQL of typical queries are very symmetrical. Star joins can be recognized as query patterns that a database engine can optimize. Jan 2003 91.4904 Ron McFadyen

Advantages of the dimensional approach 3. Gracefully extensible Add new facts to an existing fact table Add new dimensions Add new dimensional attributes Standard approaches exist for DM situations Utilities for managing aggregates Jan 2003 91.4904 Ron McFadyen

A data mart is a dimensional model Warehouse is built iteratively Bus Architecture P 153-164 Bus Architecture Assuming: A data mart is a dimensional model Warehouse is built iteratively Warehouse is the collection of data marts When the same dimension is used across all data marts, then that dimension is a conformed dimensions. In the bus architecture for data warehousing, all dimensions are conformed dimensions. Jan 2003 91.4904 Ron McFadyen

The use of conformed dimensions means we avoid “stovepipe” data marts, Bus Architecture The use of conformed dimensions means we avoid “stovepipe” data marts, we can meaningfully join data across data marts we can plug new stars into the bus Conformed dimensions should use surrogate keys. Protection from reused keys in legacy system Slowly changing dimensions Jan 2003 91.4904 Ron McFadyen

we can meaningfully join data across data marts Bus Architecture Conformed facts Want similar facts to be at the same grain, to be defined on the same units. we can meaningfully join data across data marts Jan 2003 91.4904 Ron McFadyen

Data Warehouse Bus Matrix Rows are data marts Columns are dimensions Bus Architecture Data Warehouse Bus Matrix Rows are data marts Columns are dimensions A useful planning tool Promotion Store Warehouse Date Product Retail Sales X X X X Retail Inv X X X Retail Del X X X Warehouse Inv X X X Jan 2003 91.4904 Ron McFadyen