Role Playing Dimensions (p )

Slides:



Advertisements
Similar presentations
Dimensional Modeling.
Advertisements

Analyses for all areas of your business Analysis Suite by Taurus Software Analysis Suite by Taurus Software.
BY LECTURER/ AISHA DAWOOD DW Lab # 2. LAB EXERCISE #1 Oracle Data Warehousing Goal: Develop an application to implement defining subject area, design.
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
Dimensional Modeling CS 543 – Data Warehousing. CS Data Warehousing (Sp ) - Asim LUMS2 From Requirements to Data Models.
© 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.
March 2010ACS-4904 Ron McFadyen1 Aggregate management References: Lawrence Corr Aggregate improvement
Architecting a Large-Scale Data Warehouse with SQL Server 2005 Mark Morton Senior Technical Consultant IT Training Solutions DAT313.
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
Best Practices for Data Warehousing. 2 Agenda – Best Practices for DW-BI Best Practices in Data Modeling Best Practices in ETL Best Practices in Reporting.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
Data Warehousing Concepts, by Dr. Khalil 1 Data Warehousing Design Dr. Awad Khalil Computer Science Department AUC.
MIS2502: Data Analytics The Information Architecture of an Organization.
Normalized model vs dimensional model
MIS2502: Data Analytics Dimensional Data Modeling
UNIT-II Principles of dimensional modeling
Foundations of Business Intelligence: Databases and Information Management.
June 08, 2011 How to design a DATA WAREHOUSE Linh Nguyen (Elly)
Data Warehousing DSCI 4103 Dr. Mennecke Chapter 2.
Or How I Learned to Love the Cube…. Alexander P. Nykolaiszyn BLOG:
Building the Corporate Data Warehouse Pindaro Demertzoglou Data Resource Management.
CMPE 226 Database Systems April 12 Class Meeting Department of Computer Engineering San Jose State University Spring 2016 Instructor: Ron Mak
1 Finding Your Way Through a Database Exploring Microsoft Office Access.
Jaclyn Hansberry MIS2502: Data Analytics The Things You Can Do With Data The Information Architecture of an Organization Jaclyn.
Understanding Data Storage
MIS2502: Data Analytics Dimensional Data Modeling
Applying Data Warehouse Techniques
MIS2502: Data Analytics Dimensional Data Modeling
Assignment 2 Due Thursday Feb 9, 2006
MIS2502: Data Analytics Dimensional Data Modeling
Overview and Fundamentals
Competing on Analytics II
Dimensional Model January 14, 2003
Inventory is used to illustrate:
Retail Sales is used to illustrate a first dimensional model
MIS2502: Data Analytics Dimensional Data Modeling
CMPE 226 Database Systems April 11 Class Meeting
Data Warehouses, Dimensional Modeling, and the Laundromat
MANAGING DATA RESOURCES
Database Fundamentals
Unidad II Data Warehousing Interview Questions
Applying Data Warehouse Techniques
Typically data is extracted from multiple sources
Data Warehouse Architecture
Data Warehouses, Dimensional Modeling, and the Laundromat
Physical Storage Indexes Partitions Materialized views March 2004
MIS2502: Data Analytics Dimensional Data Modeling
Assignment 2 Due Thursday Feb 9, 2006
Retail Sales is used to illustrate a first dimensional model
Applying Data Warehouse Techniques
Warehouse Architecture
Data Warehouse Architecture
Data warehouse architecture CIF, DM Bus Matrix Star schema
Aggregate Improvement and Lost, shrunken, and collapsed
Factless Facts: Occurrences of Relationships or Events
MIS2502: Data Analytics Dimensional Data Modeling
Assignment 1 Due: Tuesday Jan 27, 2004
Point-in-time balances Physical database Aggregation ETL Architecture
Retail Sales is used to illustrate a first dimensional model
Dimensional Model January 16, 2003
Applying Data Warehouse Techniques
Aggregate improvement Lost, shrunken, and collapsed Ralph Kimball
Examines blended and separate transaction schemas
Review of Major Points Star schema Slowly changing dimensions Keys
Transaction fact table (figure 7.2)
Data Warehouses, Dimensional Modeling, and the Laundromat
Applying Data Warehouse Techniques
Review of Major Points Star schema Slowly changing dimensions Keys
Page 37 Figure 2.3, with attributes excluded
Implementing ETL solution for Incremental Data Load in Microsoft SQL Server Ganesh Lohani SR. Data Analyst Lockheed Martin
Presentation transcript:

Role Playing Dimensions (p. 223-226) Consider a DM where we are tracking claims as they make their way through processing to payment or refusal We can track the date received, the date the accident occurred, the date of adjustment, the date of payment, as well as the policy holder, the policy, the claimed amount, the paid amount Accident Date Adjustment Date Receipt Date facts Payment Date Policy Holder Policy March, 2003 91.4904 Ron McFadyen

Role Playing Dimensions A dimension appears several times, in different roles. We need to implement the dimension once, and reference it via several FKs. One must be careful with the SQL when retrieving data Recommendation to use SQL Views – one per role Accident Date Adjustment Date Receipt Date facts Payment Date Policy Holder Policy March, 2003 91.4904 Ron McFadyen

Many-to-one-to-many traps (p. 222-223, 252-254) A conformed dimension allows us to bring data together from multiple fact tables, or from multiple data marts. Query: For each day in July and for each product, how many did we sell and how many did we have in stock? Store Sales Facts Product Date Inventory Facts Supplier Warehouse March, 2003 91.4904 Ron McFadyen

Many-to-one-to-many traps Doing this in one query will likely lead to errors (why?) Recommended procedure: drill across the fact tables using multipass SQL With multipass SQL each fact table is queried separately and then the individual results are merged. Store Sales Facts Product Date Inventory Facts Supplier Warehouse March, 2003 91.4904 Ron McFadyen

Time of Day Dimension (p. 245-246) Time of day normally reduces to a degenerate dimension where the time of day value is stored in the fact table Product Time Production Facts Date Crew Production Facts DateId ProductId CrewId TimeOfDay Physical Fact table Degenerate dimension Actual time of day stored March, 2003 91.4904 Ron McFadyen

Value banding (p. 251-252) Flexible reporting is provided by joining to a band table via non-equi join Band table Band_group_name Band name Band sort number Band metric lower value Band metric upper value Facts metric >= < March, 2003 91.4904 Ron McFadyen

Group 3. Implementation of a Assignments Two assignments due by April 4. Choose any two from two different groups Group 1. ETL for populating the NorthWind Dimensional Model. This must use DTS. Implementation of the algorithm to maintain a Type II dimension Group 2. Description of a Kimball Design tip Dimensional Friendly Criteria Group 3. Implementation of a Navigational Bridge Value banding Role-playing 3-4 pages, incorporate examples, diagrams Accompanied by a 1 page description March, 2003 91.4904 Ron McFadyen

Assignments Group 4. Design and implement a DM for the UW. Must include plans for at least 2 fact tables and aggregation. Include a logical model and a SQL Server or Access implementation. ETL not required. Describe the type of analyses the model facilitates. March, 2003 91.4904 Ron McFadyen