10 Chapter10+ +Building+the+Data+Warehouse+ +part+1
10 Chapter10+ +Building+the+Data+Warehouse+ +part+1
Warehouse 3 Database
- Part 1
Building the Azure Sql Database
5 Staging Transactions
Building Staging Layer Transactional Data
MODULE 10
SECTION 1
Overview
Overview
Data Warehouse Overview
Protect from source system upgrades Enable self-serve data analysis for business users
Overview
Data Warehouse Models
Kimball Model
Staging
Dim
Product
Extract, Transform, and Load (ETL) Extract, Load, and Transform (ELT)
• No Staging Tables • Uses Staging Tables
• Transform the data while hitting the source system • Transform the data while loading into target system
• Processing done by the ETL Tools • Processing done by target database engine
ELT is better suited for large volumes of data and for a modern data warehouse
architecture
Data Process
Overview of the ELT Process • Load transaction/master files to cleansed
zone
1 Load 3
Extract Transform
• Extract source files to raw zone 2 • Transform data to dimensional model
• Build Facts
SECTION 3
Database
Database
Overview of Database Objects
FACT
Sales
OLTP Data Sources
Staging
Dim Territory Dim Currency
Dim Product
We will build staging tables and data warehouse tables in Azure Sql DB
SECTION 4
Staging Master Data
Staging Master Data
Building the Staging Layer Master Data
Dim Dim
Landing Raw Cleansed Date Store
FACT
Source Sales
Data Staging Dim Dim
Territory Currency
Dim
Product
On Premise
Azure Data Lake Storage Azure Sql DB (Stage) Azure Sql DB (DW)
Source Data
In this step we will load master data from the cleansed container in Azure Storage to
stage tables in Azure Sql DB
SECTION 5
Staging Transactions
Staging Transactions
Building the Staging Layer Transactions
Dim Dim
Landing Raw Cleansed Date Store
FACT
Source Sales
Data Staging Dim Dim
Territory Currency
Dim
Product
On Premise
Azure Data Lake Storage Azure Sql DB (Stage) Azure Sql DB (DW)
Source Data
• Transaction Data • Load data into stage sales table in Azure Sql DB
In this step we will load transaction data from the cleansed container in Azure
Storage to stage tables in Azure Sql DB
Module Summary
In this module we learnt
We learnt about the different Data We learnt about the ELT approach that we We then learnt how to stage our master data
Warehouse approaches and data processing will use to build the Data Warehouse and transactional data
approaches
References
Dimensional Modeling – Ralph Kimball
A Dimensional Modeling Manifesto - Kimball Group
ETL/ELT
From Warehouse To Lakehouse – ELT/ETL Design Patterns With Azure Data Services – SQL
Of The North