Applying Data Warehouse Techniques

Slides:



Advertisements
Similar presentations
Dimensional Modeling.
Advertisements

1. SQL Server 2014 In-Memory by Design Arthur Zubarev June 21, 2014.
Presented by Brad Gall Using BI Techniques for Database Statistics.
Technical BI Project Lifecycle
DATA WAREHOUSE DATA MODELLING
Dimensional Modeling Business Intelligence Solutions.
Dimensional Modeling CS 543 – Data Warehousing. CS Data Warehousing (Sp ) - Asim LUMS2 From Requirements to Data Models.
Data Warehousing - 3 ISYS 650. Snowflake Schema one or more dimension tables do not join directly to the fact table but must join through other dimension.
Jeremy Brinkman Director of Administrative Systems University of Northwestern Ohio Great Lakes Users’ Group Conference August 10-11,
Business Intelligence
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.
Dimensional model. What do we know so far about … FACTS? “What is the process measuring?” Fact types:  Numeric Additive Semi-additive Non-additive (avg,
OnLine Analytical Processing (OLAP)
DIMENSIONAL MODELLING. Overview Clearly understand how the requirements definition determines data design Introduce dimensional modeling and contrast.
1 Data Warehouses BUAD/American University Data Warehouses.
Data Warehousing.
MIS2502: Data Analytics The Information Architecture of an Organization.
Ch3 Data Warehouse Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2009.
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
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.
June 08, 2011 How to design a DATA WAREHOUSE Linh Nguyen (Elly)
Copyright© 2014, Sira Yongchareon Department of Computing, Faculty of Creative Industries and Business Lecturer : Dr. Sira Yongchareon ISCG 6425 Data Warehousing.
1 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Enterprise Edition: Overview.
Pindaro Demertzoglou Data Resource Management – MGMT 4170 Lally School of Management Rensselaer Polytechnic Institute.
Or How I Learned to Love the Cube…. Alexander P. Nykolaiszyn BLOG:
Building the Corporate Data Warehouse Pindaro Demertzoglou Data Resource Management.
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 9: DATA WAREHOUSING.
CMPE 226 Database Systems April 12 Class Meeting Department of Computer Engineering San Jose State University Spring 2016 Instructor: Ron Mak
Just Enough Database Theory for Power Pivot / Power BI
Jaclyn Hansberry MIS2502: Data Analytics The Things You Can Do With Data The Information Architecture of an Organization Jaclyn.
On-Line Application Processing
Telling Stories with Data
On-Line Analytic Processing
Data warehouse and OLAP
Chapter 13 The Data Warehouse
Summarized from various resources Modern Database Management
Data Warehousing Business Intelligence
Data Warehouse.
Applying Data Warehouse Techniques
Overview and Fundamentals
Dimensional Model January 14, 2003
Inventory is used to illustrate:
Retail Sales is used to illustrate a first dimensional model
CMPE 226 Database Systems April 11 Class Meeting
Database Vs. Data Warehouse
Unidad II Data Warehousing Interview Questions
Applying Data Warehouse Techniques
An Introduction to Data Warehousing
MIS2502: Data Analytics Dimensional Data Modeling
Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2009
Retail Sales is used to illustrate a first dimensional model
Applying Data Warehouse Techniques
Data warehouse architecture CIF, DM Bus Matrix Star schema
MIS2502: Data Analytics Dimensional Data Modeling
Retail Sales is used to illustrate a first dimensional model
Building your First Cube with SSAS
Role Playing Dimensions (p )
Data Warehousing Concepts
Designing a Data Warehouse from the Ground Up
Review of Major Points Star schema Slowly changing dimensions Keys
Building a Microsoft BI solution step-by-step
Analysis Services Analysis Services vs. the Data Warehouse vs. OLTP DB
Analytics, BI & Data Integration
Applying Data Warehouse Techniques
How To Load A Fact Table Really, Really Fast
Review of Major Points Star schema Slowly changing dimensions Keys
Applying Data Warehouse Techniques
Implementing ETL solution for Incremental Data Load in Microsoft SQL Server Ganesh Lohani SR. Data Analyst Lockheed Martin
Presentation transcript:

Applying Data Warehouse Techniques

About Me Tennessee Tech - Computer Science Nashville Native Working with SQL Server since 2010 Data Warehousing/Business Intelligence Application Development Twitter: @SpencerSwindell Email: spencer.swindell@gmail.com

Think Data Insights Based in Nashville, TN Microsoft Gold Partner Modern Data Warehouse Design and Architecture On-Premise SQL Server and Azure Data Platform PowerBI Solutions and Training Advanced Analytics and Machine Learning Based in Nashville, TN Microsoft Gold Partner

Value of a Data Warehouse Data can be stored an used in many forms in a business Application Databases Excel workbooks Event stream NoSQL Databases Would like to analyze data across all these sources Data can be loaded into a centralized data warehouse for analysis

OLTP vs OLAP Application systems are typically optimized for dealing with a few rows of data at a time On-Line Transactional Processing (OLTP) Usually working with a single record at a time Processing a sales transaction, looking up a sales record for a return This is inefficient for analytical processing Working with thousands to millions of records at a time On-Line Analytical Processing (OLAP) Viewing Total Sales Orders by Sales Territory for FY 2016

The Dimensional Model Popularized by Ralph Kimball (The Data Warehouse Toolkit) ETL Processes data from source systems into a dimensional model The ETL will be about 70% of a DW Project Dimensional Models contain two types of tables Dimension Tables Nouns of the business – Describe the business process Examples: Date, Customer, Product, Store, Geography, Employee Fact Tables Verbs of the business – Measure the business process Examples: Sales, Patient Visit, Inventory, Attendance, Claims Gives us Scalability, Performance, and Simplicity

But don’t take my word for it “In general, a star schema following Kimball modeling techniques is the optimal data model to build into a Tabular model. “ Performance Tuning of Tabular Models in SSAS 2012 https://docs.microsoft.com/en-us/previous-versions/sql/sql-server- 2012/dn393915(v=msdn.10) This will also apply to PowerBI modeling

Dimension Tables Holds descriptive characteristics of a business process De-normalized tables allows for simple queries Dimension tables are small compared to fact tables Surrogate Key generated for each row and used in fact table Allows for single column joins using integers

Fact Tables Largest tables in the warehouse Defined by the Grain Columns are surrogate keys to dimensions and measurement values Typically will have millions of rows, in some cases billions Defined by the Grain The grain indicates what an individual row represents in a fact table “One row per line item in a sales transaction”

Star Schema

Slowly Changing Dimensions Type I Update the record, historical data no persevered Type II Add a new row, historical data persevered Type III Add a new column, allows for comparative analysis Type VI Combination of techniques in types 1,2 and 3 (1+2+3 = 6)

Other Dimension Methods Other Types of Dimensions Mini-Dimension Subset of data to reduce table size of a large dimension Junk Dimension Low cardinality elements combined into a single dimension Degenerate Dimension High cardinality elements left on fact table Role-Playing Dimension A dimension used many times in single business process

Multi-Valued Dimensions What do you do when a single dimension could have multiple values? Multiple Diagnosis Codes Discounts or Promotions applied to a sale Tags on a work item Bridge tables group multiple dimensions into a single key Fact table references the single key

Type of Fact Tables Multiple ways to measure and store business events Some of these are used together to create a complete picture Transactional Fact Table Records events as they occur Data is typically not revisited Periodic Snapshot Fact Table Events are measured on intervals Data is not revisited, new snapshots are inserted into the table Accumulating Snapshot Fact Table Used for tables with defined beginning, intermediate, and end milestones Data is revisited and updated with new information

Kimball Design Process 1. Identify the Business Process 2. Declare the Grain 3. Identify Dimensions 4. Identify Measures

ColumnStore Indexing Data traditionally stored row by row Think of it like a CSV The entire row is read from disk every time ColumnStore stores data column-wise Columns are stored separately Rows are “reconstructed” at query time Large gains in compression and performance Super fast for aggregate queries!