0% found this document useful (0 votes)
14 views15 pages

1 - OLAP & Data Warehouse

Uploaded by

kaimo.private
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views15 pages

1 - OLAP & Data Warehouse

Uploaded by

kaimo.private
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Introduction into

Data Warehousing
Lec. 1 - Summer 2024

Ejada Internal Use Only


Agenda
I. Lecture Objectives
II. OLTP and OLAP Systems
III. OLAP System Storage
IV. Relational Data Warehouse Modeling
V. Intro Into Dimensional Modeling
VI. Summary & Resources
VII. Project: AdventureWorks OLAP
VIII. Task: Install Required Tools

2
Ejada Internal Use Only
Lecture Objectives

By the end of the lecture, you will be able to:


 Identify The Characteristics and Role of OLTP and OLAP Systems

 Understand the Differences Between Data Warehouse, Lake, and Mart

 Understand The Modelling Techniques used in Data Warehouses

 Get Familiar with Dimensional Modelling Core Concepts

3
Ejada Internal Use Only
OLTP
Online Transaction Processing (OLTP) is a type of data
processing that enable the real-time execution of large
numbers of database transactions by large numbers of
people in the context of business operation to be done.

For Example: online banking, shopping, order entry, or sending text


messages
OLTP Systems Characteristics:
• Used For Daily Transactional Operations • Read and Write Queries are Used
• Highly Normalized (Usually in 3NF) • Maintain Current Data Only
• Fast Writing and Processing • Frequent Inserts and Updates
• Relatively Lower Storage • High Availability and Reliably

4
Ejada Internal Use Only
Analysis on OLTPs?
Analysis Tasks shouldn’t be performed on OLTP
Systems
for the following reasons :

× Writing Complex Analytics Queries contains many joins and Inefficient


× Does not maintain the History, Only Current Data can be found
× Lead to Big Overhead on the OLTP Servers
× OLTP Data requires Processing to decode and clean data before Analyse

5
Ejada Internal Use Only
OLAP
Online Analytical Processing (OLAP) is a type of data
processing that involve querying many or all records in a
database for analytical purposes like monitoring and
reporting for a better business decision-making.

For Example: Sales reporting, marketing, Management reporting.


OLAP Systems Characteristics:
• Used For Analytics and Monitoring Purposes • Relatively Higher Storage
• Denormalized (Usually in Dimensional Form) • Read Queries are Used Solely
• Fast Reading and Querying • Maintain Current and Historical Data
• Data in Readable non-Decoded format

6
Ejada Internal Use Only
OLAP System Storage
Layer
Some of the most common implementation of OLAP
Storages:
Data Warehouse Data Lake Data Lakehouse

• Structured Data • Unstructured Data • Structured & Unstructured


• Commonly Used In • Commonly Used in Big • Relatively Modern
Business Intelligence Data, Streaming and Real- • Hybrid of Warehouses
Applications Time Analysis Applications and Lakes
• SQL Server, Snowflake, • Hadoop, S3, Azure Data • Microsoft Fabric Lakehouse
Amazon Redshift Lake Storage

• Data Mart is a Subset of Data Warehouses that focus on specific Business Aspect/Unit
• On-Premises and Cloud Solutions of these Storage Layers are Available
• On-Premises Relational Data Warehouse will be the Focus

7
Ejada Internal Use Only
Data Warehouse Modeling

Some of Most Common Modeling Techniques are:


 Dimensional Modelling [Kimball’s Approach]
 Enterprise Data Warehouse [Inmon’s Approach]
 Bottom-Up Data Mart
 Data Vault

• Most Commonly Used Approach is Dimensional Model and hence


will be our Focus
• EDW Building Complexity and Time Consuming are Crucial
Concerns
• Bottom-Up Data Mart is Time Consuming and Duplicative
Approach

8
Ejada Internal Use Only
Dimensional Modeling Breakdown
• 3NF Model (Highly-Normalized)

Ejada Internal Use Only


Dimensional Modeling Breakdown
• Fully Denormalized Table

Ejada Internal Use Only


Dimensional Modeling Breakdown
• Dimensional Model (Star Schema)

 Facts and Dimensions


 Surrogate and Natural Keys
 Slowly Changing Dimensions

Ejada Internal Use Only


Summary

 OLTP System is an Operational System, Optimized for Fast Writing, and is


Required For Business Process to Work Properly
 OLAP System is a Dedicated Analytics System, Optimized for Fast Reading and
Complex Analytics Queries, and is Used For Decision Making
 Data Warehouse is used most in Business Intelligence Solutions
 Dimensional Model Introduced By Kimball is Most Commonly Used Approach
For Data warehouse modeling

Resources:
• Data Warehouse Tutorials Playlist – YouTube
• OLTP vs OLAP - Difference Between Data Processing Systems – AWS
• [[ 3 HOURS ]] Data Warehouse Complete Tutorial - SQL + SSIS + SSAS + Power BI
• Kimball The Data Warehouse Toolkit 3rd Book

Ejada Internal Use Only


Project: AdventureWorks OLAP

Project Description:
Adventure Works Cycles is a multinational company for bikes manufacturing, the
company continues to grow. They demand an End-To-End Business Intelligence
Solution to track and analyze their sales for a better decision-making.

Project Requirements:
Given OLTP Database, its required to:
A. Build an OLAP system capable of monitoring and analyzing sales.
B. Sales Report showing summary of sales and most important KPIs.

13
Ejada Internal Use Only
Task: Required Tools
SQL Server Developer Edition 2019 or 2022

• a RDBMS That Maintains Databases


• Make Sure to Select SQL Server Integration and Analysis Services To Be Installed

SQL Server Management Studio

• A Tool that Connects to the RDBMS for Browse and Execute Queries

Microsoft Visual Studio 2019 or 2022

• For Creating SSIS and SSAS Projects using SSDT Extension Kit
• Install The SSIS and SSAS Extensions from Library

14
Ejada Internal Use Only
Any Questions?

Feel Free To Contact us on Teams!

Thank You
Ejada Systems Company Limited ‫شركة إجادة للنظم‬
‫المحدودة‬ www.ejada.com | [email protected]
Ejada Internal Use Only

You might also like