6. Convert Data to Information
Accumulating Data
Manage the Business
OLTP != Reporting
Apply Business Rules
Clean Data
Analytics
Distribution
8. Requirements
Access to Database
Valid Credentials
Location of Tables
Business Intelligence Dev Studio (BIDS) 2008 R2
SQL Server Data Tools 2012
SQL Analysis Cubes
9. EDW Architecture
Source System
Staging
Raw
Master Data Services
Enterprise Data Warehouse
Analysis Services Cubes
10. Data Modeling
Kimball Methodology
Star Schema
Pattern forms a graphical “Star”
Snow Flake Schema
Branches
11. Tables
Dimension Tables
Describe Data
Fact Tables
Measures (Sums, Counts, Max, Min, etc.)
Contain Surrogate Keys
Link back to Dim Tables
12. SK Keys
Surrogate Keys
Substitution for the natural primary key
Unique Identifier
Auto Integer, Indexed, Primary
Foreign Key in other tables
13. AK Keys
Alternate Keys
Unique Identifier from Source System
Typically Varchar
14. Staging
Create Tables
Dim Tables
Fact Tables
Use SQL Statements
Pull Data
Truncate and Reload
SSIS = ETL
15. DW
Create Tables
Dim Tables
SK / AK
Fact Tables
SK
Use SQL Statements
Pull Data
SSIS = ETL
Time Stamps
16. Slowly Changing Dimensions
Type 0 method is passive
Values remain as they were at the time the dimension
record was first inserted
Type 1
Overwrites old with new data
Does not track historical data
Type 2
Tracks historical data by creating multiple records