PASS_Summit_2019_Azure_Storage_Options_for_Analytics

Dustin Vannoy
Dustin VannoySenior Data Engineering Consultant
Azure Storage
Options for
Analytics
Dustin Vannoy
Data Engineer
Cloud + Streaming
Please silence
cell phones
everything PASS
has to offer
Free online
webinar events
Free 1-day local
training events
Local user groups
around the world
Online special
interest user groups
Business analytics
training
Get involved
Free Online Resources
Newsletters
PASS.org
Explore
Dustin Vannoy
Data Engineering Consultant
Co-founder Data Engineering San
Diego
/dustinvannoy
@dustinvannoy
dustin@dustinvannoy.com
Technologies
• Azure & AWS
• Spark
• Kafka
• Python
Modern Data Systems
• Data Lakes
• Analytics in Cloud
• Streaming
PASS Summit Learning Pathway:
Becoming an Azure Data Engineer
Roles and Responsibilities of the Azure Data Engineer
Jes Borland
Wednesday November 06, 10:15 AM
Room: TCC Tahoma 2
Azure Storage Options for Analytics
Dustin Vannoy
Wednesday, November 06, 3:15 PM
Room: TCC Skagit 4
An Azure Data Engineer’s ETL Toolkit
Simon Whiteley
Thursday, November 07, 3:15 PM
Room: TCC Tahoma 4
Data Modeling Trends for 2019 and Beyond
Ike Ellis
Friday, November 08, 9:30 AM
Room: 2AB
Azure Storage
for Analytics 1. Data Lakes
2. Data Warehouses
3. Analytics
Data Lakes in
Azure
Data Lake Defined
Varied Data
Raw, intermediate,
and fully
processed
Ready for Analysts
Query layer, other
analytic tools access
Big Data Capable
Store first,
evaluate and
model later
* Not just a file system
Store Everything
Why Data Lakes?
• CSV, JSON, Logs, Text
• No schema on write
• Cheaper storage
Reason #1
Massive Scale (Big Data)
Why Data Lakes?
• Serverless Hadoop
• Span hot and cold
storage
• Pay for what you use
Reason #2
Reason #3
Storage + Compute
Separate
Why Data Lakes?
• Cost savings
• Multiple analytics tools /
same data
D E M O
Example Data
Lake Querying
Data Lake Best Practices
• Metadata portal
• Not just raw data
• Dataset certification
• Not too much governance
Azure Blob Storage
• Storage for pretty much
anything
• Can choose from Block blob,
Append blob, or Page blob
• Low cost: $
Azure Blob Storage
Structure
Storage Account
Containers
Blobs
ADLS Gen 1 ADLS Gen 2
Azure Data Lake Storage
File system semantics
Granular security
Scale
Benefits from Gen 1
+ Low cost
+ Hierarchical namespace
Data Lake Storage, Gen 2
• Built on Azure Blob Storage
• Hadoop compatible access
• Optimized for cloud analytics
• Low cost: $$
ADLS Gen 2
Structure
Storage Account
File System
Files
Options for Import
Getting Data into ADLS Gen 2
• Azure Databricks
• Azure Data Factory
• AzCopy
• Azure Storage Explorer
Options for Access
Accessing Data From ADLS Gen 2
• Azure Databricks
• HD Insight
• Polybase (SQL DW / SQL Server)
• Power BI
D E M O
ADLS Gen 2:
Setup and Upload
Archive Storage
• Still part of Azure Blob Storage
• Seamless integration with hot/cool
• Keep everything
• Very low cost
but...
• High read cost
• Early deletion charges
Cost Comparison – Hot LRS
Type
Storage
(Dollars/GB)
Reads
(per 10,000)
Writes
(per 10,000)
Blob Storage (Hot) .021 .004 .055
ADLS Gen 2 (Hot) .021 .006 .072
* for ADLS every 4MB is considered an operation
Cost Comparison – Cool LRS
Type
Storage
(Dollars/GB)
Reads
(per 10,000)
Writes
(per 10,000)
Blob Storage (Cool) .015 .010 .100
ADLS Gen 2 (Cool) .015 .013 .130
* for ADLS every 4MB is considered an operation
Cost Comparison – Archive LRS
Type
Storage
(Dollars/GB)
Reads
(per 10,000)
Writes
(per 10,000)
Blob Storage
(Archive)
.002 5.500 .110
ADLS Gen 2 (Archive) .002 7.15 .143
* for ADLS every 4MB is considered an operation
Storage Redundancy Options
Review redundancy and cost implications: https://azure.microsoft.com/en-
us/pricing/details/storage/
Data Warehouses
in Azure
Data Warehouse Defined
Structured Data
Processed and
modeled for
analytics use
Interactive queries
Analysts can get
answers to
questions quickly
BI tool support
Reporting tools
can query
efficiently
Speed of thought
Why Data Warehouses?
• Fast query response
• Indexing or column store
• SQL with analytic functions
Reason #1
Reason #2
Ready to use data
Why Data Warehouses?
• Useful column names
• Cleaned and standardized
• Focused
Update/Delete
Why Data Warehouses?
• Support for real-time
ingestion
• Keep latest view or
manage history
Reason #3
Data Warehouse Best Practices
• Staging data off limits
• Star schema design
• Indexing strategies
• Read replicas
Azure SQL DB
• Good ole relational database
• Less DBA work required
• Scalable on demand
• Medium cost: $$ - $$$$
Managed SQL Server
Azure SQL DB – Elastic pools
• DBs can auto-scale within the pool
• Can move DB to different pool
• Want DBs peak usage at different times
• Important to understand utilization of DBs
Resources shared among DBs
Azure SQL DB – Managed Instances
Most on-premise features supported
• SQL Agent jobs
• Change Data Capture
• Enabled CLR
• Cross database queries
• DB Mail
• Service Broker
• Transactional Replication
Best for migrations
Azure SQL DB – Hyperscale
• Storage, Compute, and Log scale separately
• Backups, restores and scaling not tied to volume of data
• Optimized for OLTP, but supports analytical workloads
• One way migration
Highly scalable storage and compute
Hyperscale
Architecture
http://aka.ms/
SQLDB_Hyperscale
D E M O
Azure SQL DB:
Analytics querying
Azure Synapse Analytics - SQL DW
• MPP - fast reads, many users
• Supports Polybase
• Scalable on demand
• High cost: $$$$
High performance Analytic DB
D E M O
Synapse Analytics
(SQL DW):
Analytics querying
Cosmos DB
• Useful for in-app analytics
• Best with known search key, e.g. CustomerID
• Key-value, Column-family, Document, Graph
• SQL, Cassandra, MongoDB, Gremlin, Table, etcd, Spark
• Medium cost: $$ - $$$
Managed NoSQL
Analytics in
Azure
Shared semantic model Cache data
Azure Analysis Services
Build calculations and
aggregations into a model
that can be used by many
analytics tools
Improve query speeds by
caching data
Visual report tool Supports most sources
Power BI
Build interactive dashboards
and reports or do
exploratory data analysis
Connects to everything
Azure and many other
source types
D E M O
Power BI:
Connect to Data
Lake
Final Thoughts
Keep Learning!
Databricks / ETL
10 Cool Things You Can Do With Azure Databricks – Ike, Simon, Dustin
An Azure Data Engineer's ETL Toolkit – Simon Whiteley
Code Like a Snake Charmer - Introduction to Python! – Jamey Johnston
Code Like a Snake Charmer – Advanced Data Modeling in Python! – Jamey Johnston
Cosmos
Cosmic DBA - Cosmos DB for SQL Server Admins and Developers – Michael Donnelly
CosmosDB - Designing and Troubleshooting Lessons – Neil Hambly
Data Modeling
Data Modeling Trends for 2019 and Beyond – Ike Ellis
Innovative Data Modeling for Cool Data Warehouses – Jeff Renz, Leslie Weed
Data Warehouse / SQL DB
Best, Better, Hyperscale! The Last Database You will Ever Need in the Cloud – Denzil Ribeiro
Introducing Azure Synapse Analytics: The End-to-End Analytics Platform Built for Every Data Professional – Saveen
Reddy
Azure SQL Database: Maximizing Cloud Performance and Availability – Joe Sack, Denzil Ribeiro
Delivering a Data Warehouse in the Cloud – Jeff Renz
Data Warehousing: Which of the Many Cloud Products is the Right One for You? – Ginger Grant
Session
Evaluations
Submit by 5pm Friday,
November 15th to
win prizes.
Download the GuideBook App and
search: PASS Summit 2019
Follow the QR code link on session
signage
Go to PASSsummit.com
3 W A Y S T O A C C E S S
Thank You
Dustin Vannoy
@dustinvannoy
dustin@dustinvannoy.com
1 of 49

Recommended

Optimizing Storage for Big Data/Analytics Workloads by
Optimizing Storage for Big Data/Analytics WorkloadsOptimizing Storage for Big Data/Analytics Workloads
Optimizing Storage for Big Data/Analytics WorkloadsAmazon Web Services
1.8K views30 slides
(BDT308) Using Amazon Elastic MapReduce as Your Scalable Data Warehouse | AWS... by
(BDT308) Using Amazon Elastic MapReduce as Your Scalable Data Warehouse | AWS...(BDT308) Using Amazon Elastic MapReduce as Your Scalable Data Warehouse | AWS...
(BDT308) Using Amazon Elastic MapReduce as Your Scalable Data Warehouse | AWS...Amazon Web Services
2.4K views35 slides
(BDT317) Building A Data Lake On AWS by
(BDT317) Building A Data Lake On AWS(BDT317) Building A Data Lake On AWS
(BDT317) Building A Data Lake On AWSAmazon Web Services
31.2K views61 slides
Leveraging Azure Databricks to minimize time to insight by combining Batch an... by
Leveraging Azure Databricks to minimize time to insight by combining Batch an...Leveraging Azure Databricks to minimize time to insight by combining Batch an...
Leveraging Azure Databricks to minimize time to insight by combining Batch an...Microsoft Tech Community
622 views77 slides
Big Data Goes Airborne. Propelling Your Big Data Initiative with Ironcluster ... by
Big Data Goes Airborne. Propelling Your Big Data Initiative with Ironcluster ...Big Data Goes Airborne. Propelling Your Big Data Initiative with Ironcluster ...
Big Data Goes Airborne. Propelling Your Big Data Initiative with Ironcluster ...Precisely
855 views22 slides
Microsoft Azure Databricks by
Microsoft Azure DatabricksMicrosoft Azure Databricks
Microsoft Azure DatabricksSascha Dittmann
1.2K views17 slides

More Related Content

What's hot

AWS March 2016 Webinar Series Building Your Data Lake on AWS by
AWS March 2016 Webinar Series Building Your Data Lake on AWS AWS March 2016 Webinar Series Building Your Data Lake on AWS
AWS March 2016 Webinar Series Building Your Data Lake on AWS Amazon Web Services
2.1K views60 slides
Apache Spark and the Hadoop Ecosystem on AWS by
Apache Spark and the Hadoop Ecosystem on AWSApache Spark and the Hadoop Ecosystem on AWS
Apache Spark and the Hadoop Ecosystem on AWSAmazon Web Services
1.9K views40 slides
Getting Started with Amazon QuickSight by
Getting Started with Amazon QuickSightGetting Started with Amazon QuickSight
Getting Started with Amazon QuickSightAmazon Web Services
756 views29 slides
Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst... by
Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst...Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst...
Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst...Databricks
485 views22 slides
Building Data Warehouses and Data Lakes in the Cloud - DevDay Austin 2017 Day 2 by
Building Data Warehouses and Data Lakes in the Cloud - DevDay Austin 2017 Day 2Building Data Warehouses and Data Lakes in the Cloud - DevDay Austin 2017 Day 2
Building Data Warehouses and Data Lakes in the Cloud - DevDay Austin 2017 Day 2Amazon Web Services
397 views64 slides
Building your first Data lake platform by
Building your first Data lake platform Building your first Data lake platform
Building your first Data lake platform Amazon Web Services
544 views42 slides

What's hot(20)

AWS March 2016 Webinar Series Building Your Data Lake on AWS by Amazon Web Services
AWS March 2016 Webinar Series Building Your Data Lake on AWS AWS March 2016 Webinar Series Building Your Data Lake on AWS
AWS March 2016 Webinar Series Building Your Data Lake on AWS
Amazon Web Services2.1K views
Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst... by Databricks
Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst...Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst...
Cognitive Database: An Apache Spark-Based AI-Enabled Relational Database Syst...
Databricks485 views
Building Data Warehouses and Data Lakes in the Cloud - DevDay Austin 2017 Day 2 by Amazon Web Services
Building Data Warehouses and Data Lakes in the Cloud - DevDay Austin 2017 Day 2Building Data Warehouses and Data Lakes in the Cloud - DevDay Austin 2017 Day 2
Building Data Warehouses and Data Lakes in the Cloud - DevDay Austin 2017 Day 2
Owning Your Own (Data) Lake House by Data Con LA
Owning Your Own (Data) Lake HouseOwning Your Own (Data) Lake House
Owning Your Own (Data) Lake House
Data Con LA339 views
Dipping Your Toes: Azure Data Lake for DBAs by Bob Pusateri
Dipping Your Toes: Azure Data Lake for DBAsDipping Your Toes: Azure Data Lake for DBAs
Dipping Your Toes: Azure Data Lake for DBAs
Bob Pusateri240 views
Zero to 60 with Azure Cosmos DB by Adnan Hashmi
Zero to 60 with Azure Cosmos DBZero to 60 with Azure Cosmos DB
Zero to 60 with Azure Cosmos DB
Adnan Hashmi961 views
Databases in the Cloud - DevDay Austin 2017 Day 2 by Amazon Web Services
Databases in the Cloud - DevDay Austin 2017 Day 2Databases in the Cloud - DevDay Austin 2017 Day 2
Databases in the Cloud - DevDay Austin 2017 Day 2
(SOV202) Choosing Among AWS Managed Database Services | AWS re:Invent 2014 by Amazon Web Services
(SOV202) Choosing Among AWS Managed Database Services | AWS re:Invent 2014(SOV202) Choosing Among AWS Managed Database Services | AWS re:Invent 2014
(SOV202) Choosing Among AWS Managed Database Services | AWS re:Invent 2014
Amazon Web Services2.2K views
ITCamp 2019 - Andy Cross - Machine Learning with ML.NET and Azure Data Lake by ITCamp
ITCamp 2019 - Andy Cross - Machine Learning with ML.NET and Azure Data LakeITCamp 2019 - Andy Cross - Machine Learning with ML.NET and Azure Data Lake
ITCamp 2019 - Andy Cross - Machine Learning with ML.NET and Azure Data Lake
ITCamp225 views
Building a Just-in-Time Application Stack for Analysts by Avere Systems
Building a Just-in-Time Application Stack for AnalystsBuilding a Just-in-Time Application Stack for Analysts
Building a Just-in-Time Application Stack for Analysts
Avere Systems386 views

Similar to PASS_Summit_2019_Azure_Storage_Options_for_Analytics

Afternoons with Azure - Azure Data Services by
Afternoons with Azure - Azure Data ServicesAfternoons with Azure - Azure Data Services
Afternoons with Azure - Azure Data ServicesCCG
123 views45 slides
Prague data management meetup 2018-03-27 by
Prague data management meetup 2018-03-27Prague data management meetup 2018-03-27
Prague data management meetup 2018-03-27Martin Bém
211 views41 slides
Create cloud service on AWS by
Create cloud service on AWSCreate cloud service on AWS
Create cloud service on AWSAmazon Web Services
3.8K views58 slides
Azure data platform overview by
Azure data platform overviewAzure data platform overview
Azure data platform overviewJames Serra
19.4K views57 slides
Modern data warehouse by
Modern data warehouseModern data warehouse
Modern data warehouseRakesh Jayaram
241 views24 slides
Azure Synapse Analytics Overview (r2) by
Azure Synapse Analytics Overview (r2)Azure Synapse Analytics Overview (r2)
Azure Synapse Analytics Overview (r2)James Serra
23.2K views251 slides

Similar to PASS_Summit_2019_Azure_Storage_Options_for_Analytics(20)

Afternoons with Azure - Azure Data Services by CCG
Afternoons with Azure - Azure Data ServicesAfternoons with Azure - Azure Data Services
Afternoons with Azure - Azure Data Services
CCG123 views
Prague data management meetup 2018-03-27 by Martin Bém
Prague data management meetup 2018-03-27Prague data management meetup 2018-03-27
Prague data management meetup 2018-03-27
Martin Bém211 views
Azure data platform overview by James Serra
Azure data platform overviewAzure data platform overview
Azure data platform overview
James Serra19.4K views
Azure Synapse Analytics Overview (r2) by James Serra
Azure Synapse Analytics Overview (r2)Azure Synapse Analytics Overview (r2)
Azure Synapse Analytics Overview (r2)
James Serra23.2K views
Data Lakes with Azure Databricks by Data Con LA
Data Lakes with Azure DatabricksData Lakes with Azure Databricks
Data Lakes with Azure Databricks
Data Con LA105 views
Data warehousing in the era of Big Data: Deep Dive into Amazon Redshift by Amazon Web Services
Data warehousing in the era of Big Data: Deep Dive into Amazon RedshiftData warehousing in the era of Big Data: Deep Dive into Amazon Redshift
Data warehousing in the era of Big Data: Deep Dive into Amazon Redshift
Amazon Web Services1.8K views
IBM Cloud Day January 2021 - A well architected data lake by Torsten Steinbach
IBM Cloud Day January 2021 - A well architected data lakeIBM Cloud Day January 2021 - A well architected data lake
IBM Cloud Day January 2021 - A well architected data lake
Modern ETL: Azure Data Factory, Data Lake, and SQL Database by Eric Bragas
Modern ETL: Azure Data Factory, Data Lake, and SQL DatabaseModern ETL: Azure Data Factory, Data Lake, and SQL Database
Modern ETL: Azure Data Factory, Data Lake, and SQL Database
Eric Bragas838 views
Choosing the Right Database Service (김상필, 유타카 호시노) - AWS DB Day by Amazon Web Services Korea
Choosing the Right Database Service (김상필, 유타카 호시노) - AWS DB DayChoosing the Right Database Service (김상필, 유타카 호시노) - AWS DB Day
Choosing the Right Database Service (김상필, 유타카 호시노) - AWS DB Day
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen by MS Cloud Summit
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. NielsenJ1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
MS Cloud Summit504 views
Introducing Azure SQL Data Warehouse by James Serra
Introducing Azure SQL Data WarehouseIntroducing Azure SQL Data Warehouse
Introducing Azure SQL Data Warehouse
James Serra7.7K views
AWS Community Day 2022 Brock DeLong_Serverless is More_ The scale and benefi... by AWS Chicago
AWS Community Day 2022  Brock DeLong_Serverless is More_ The scale and benefi...AWS Community Day 2022  Brock DeLong_Serverless is More_ The scale and benefi...
AWS Community Day 2022 Brock DeLong_Serverless is More_ The scale and benefi...
AWS Chicago19 views
Move your on prem data to a lake in a Lake in Cloud by CAMMS
Move your on prem data to a lake in a Lake in CloudMove your on prem data to a lake in a Lake in Cloud
Move your on prem data to a lake in a Lake in Cloud
CAMMS95 views
2014.11.14 Data Opportunities with Azure by Marco Parenzan
2014.11.14 Data Opportunities with Azure2014.11.14 Data Opportunities with Azure
2014.11.14 Data Opportunities with Azure
Marco Parenzan432 views
Data Analytics Meetup: Introduction to Azure Data Lake Storage by CCG
Data Analytics Meetup: Introduction to Azure Data Lake Storage Data Analytics Meetup: Introduction to Azure Data Lake Storage
Data Analytics Meetup: Introduction to Azure Data Lake Storage
CCG1.2K views
Cloud-based Data Lake for Analytics and AI by Torsten Steinbach
Cloud-based Data Lake for Analytics and AICloud-based Data Lake for Analytics and AI
Cloud-based Data Lake for Analytics and AI
Torsten Steinbach170 views

Recently uploaded

AvizoImageSegmentation.pptx by
AvizoImageSegmentation.pptxAvizoImageSegmentation.pptx
AvizoImageSegmentation.pptxnathanielbutterworth1
6 views14 slides
Product Research sample.pdf by
Product Research sample.pdfProduct Research sample.pdf
Product Research sample.pdfAllenSingson
29 views29 slides
4_4_WP_4_06_ND_Model.pptx by
4_4_WP_4_06_ND_Model.pptx4_4_WP_4_06_ND_Model.pptx
4_4_WP_4_06_ND_Model.pptxd6fmc6kwd4
7 views13 slides
Listed Instruments Survey 2022.pptx by
Listed Instruments Survey  2022.pptxListed Instruments Survey  2022.pptx
Listed Instruments Survey 2022.pptxsecretariat4
31 views12 slides
Ukraine Infographic_22NOV2023_v2.pdf by
Ukraine Infographic_22NOV2023_v2.pdfUkraine Infographic_22NOV2023_v2.pdf
Ukraine Infographic_22NOV2023_v2.pdfAnastosiyaGurin
1.4K views3 slides
[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init... by
[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...
[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...DataScienceConferenc1
5 views18 slides

Recently uploaded(20)

Product Research sample.pdf by AllenSingson
Product Research sample.pdfProduct Research sample.pdf
Product Research sample.pdf
AllenSingson29 views
4_4_WP_4_06_ND_Model.pptx by d6fmc6kwd4
4_4_WP_4_06_ND_Model.pptx4_4_WP_4_06_ND_Model.pptx
4_4_WP_4_06_ND_Model.pptx
d6fmc6kwd47 views
Listed Instruments Survey 2022.pptx by secretariat4
Listed Instruments Survey  2022.pptxListed Instruments Survey  2022.pptx
Listed Instruments Survey 2022.pptx
secretariat431 views
Ukraine Infographic_22NOV2023_v2.pdf by AnastosiyaGurin
Ukraine Infographic_22NOV2023_v2.pdfUkraine Infographic_22NOV2023_v2.pdf
Ukraine Infographic_22NOV2023_v2.pdf
AnastosiyaGurin1.4K views
[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init... by DataScienceConferenc1
[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...
[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...
[DSC Europe 23] Predrag Ilic & Simeon Rilling - From Data Lakes to Data Mesh ... by DataScienceConferenc1
[DSC Europe 23] Predrag Ilic & Simeon Rilling - From Data Lakes to Data Mesh ...[DSC Europe 23] Predrag Ilic & Simeon Rilling - From Data Lakes to Data Mesh ...
[DSC Europe 23] Predrag Ilic & Simeon Rilling - From Data Lakes to Data Mesh ...
[DSC Europe 23] Matteo Molteni - Implementing a Robust CI Workflow with dbt f... by DataScienceConferenc1
[DSC Europe 23] Matteo Molteni - Implementing a Robust CI Workflow with dbt f...[DSC Europe 23] Matteo Molteni - Implementing a Robust CI Workflow with dbt f...
[DSC Europe 23] Matteo Molteni - Implementing a Robust CI Workflow with dbt f...
Data about the sector workshop by info828217
Data about the sector workshopData about the sector workshop
Data about the sector workshop
info82821716 views
OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an... by StatsCommunications
OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an...OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an...
OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an...
[DSC Europe 23][AI:CSI] Aleksa Stojanovic - Applying AI for Threat Detection ... by DataScienceConferenc1
[DSC Europe 23][AI:CSI] Aleksa Stojanovic - Applying AI for Threat Detection ...[DSC Europe 23][AI:CSI] Aleksa Stojanovic - Applying AI for Threat Detection ...
[DSC Europe 23][AI:CSI] Aleksa Stojanovic - Applying AI for Threat Detection ...
Lack of communication among family.pptx by ahmed164023
Lack of communication among family.pptxLack of communication among family.pptx
Lack of communication among family.pptx
ahmed1640237 views
Short Story Assignment by Kelly Nguyen by kellynguyen01
Short Story Assignment by Kelly NguyenShort Story Assignment by Kelly Nguyen
Short Story Assignment by Kelly Nguyen
kellynguyen0119 views
Dr. Ousmane Badiane-2023 ReSAKSS Conference by AKADEMIYA2063
Dr. Ousmane Badiane-2023 ReSAKSS ConferenceDr. Ousmane Badiane-2023 ReSAKSS Conference
Dr. Ousmane Badiane-2023 ReSAKSS Conference
AKADEMIYA20635 views

PASS_Summit_2019_Azure_Storage_Options_for_Analytics

  • 1. Azure Storage Options for Analytics Dustin Vannoy Data Engineer Cloud + Streaming
  • 3. everything PASS has to offer Free online webinar events Free 1-day local training events Local user groups around the world Online special interest user groups Business analytics training Get involved Free Online Resources Newsletters PASS.org Explore
  • 4. Dustin Vannoy Data Engineering Consultant Co-founder Data Engineering San Diego /dustinvannoy @dustinvannoy dustin@dustinvannoy.com Technologies • Azure & AWS • Spark • Kafka • Python Modern Data Systems • Data Lakes • Analytics in Cloud • Streaming
  • 5. PASS Summit Learning Pathway: Becoming an Azure Data Engineer Roles and Responsibilities of the Azure Data Engineer Jes Borland Wednesday November 06, 10:15 AM Room: TCC Tahoma 2 Azure Storage Options for Analytics Dustin Vannoy Wednesday, November 06, 3:15 PM Room: TCC Skagit 4 An Azure Data Engineer’s ETL Toolkit Simon Whiteley Thursday, November 07, 3:15 PM Room: TCC Tahoma 4 Data Modeling Trends for 2019 and Beyond Ike Ellis Friday, November 08, 9:30 AM Room: 2AB
  • 6. Azure Storage for Analytics 1. Data Lakes 2. Data Warehouses 3. Analytics
  • 8. Data Lake Defined Varied Data Raw, intermediate, and fully processed Ready for Analysts Query layer, other analytic tools access Big Data Capable Store first, evaluate and model later * Not just a file system
  • 9. Store Everything Why Data Lakes? • CSV, JSON, Logs, Text • No schema on write • Cheaper storage Reason #1
  • 10. Massive Scale (Big Data) Why Data Lakes? • Serverless Hadoop • Span hot and cold storage • Pay for what you use Reason #2
  • 11. Reason #3 Storage + Compute Separate Why Data Lakes? • Cost savings • Multiple analytics tools / same data
  • 12. D E M O Example Data Lake Querying
  • 13. Data Lake Best Practices • Metadata portal • Not just raw data • Dataset certification • Not too much governance
  • 14. Azure Blob Storage • Storage for pretty much anything • Can choose from Block blob, Append blob, or Page blob • Low cost: $
  • 15. Azure Blob Storage Structure Storage Account Containers Blobs
  • 16. ADLS Gen 1 ADLS Gen 2 Azure Data Lake Storage File system semantics Granular security Scale Benefits from Gen 1 + Low cost + Hierarchical namespace
  • 17. Data Lake Storage, Gen 2 • Built on Azure Blob Storage • Hadoop compatible access • Optimized for cloud analytics • Low cost: $$
  • 18. ADLS Gen 2 Structure Storage Account File System Files
  • 19. Options for Import Getting Data into ADLS Gen 2 • Azure Databricks • Azure Data Factory • AzCopy • Azure Storage Explorer
  • 20. Options for Access Accessing Data From ADLS Gen 2 • Azure Databricks • HD Insight • Polybase (SQL DW / SQL Server) • Power BI
  • 21. D E M O ADLS Gen 2: Setup and Upload
  • 22. Archive Storage • Still part of Azure Blob Storage • Seamless integration with hot/cool • Keep everything • Very low cost but... • High read cost • Early deletion charges
  • 23. Cost Comparison – Hot LRS Type Storage (Dollars/GB) Reads (per 10,000) Writes (per 10,000) Blob Storage (Hot) .021 .004 .055 ADLS Gen 2 (Hot) .021 .006 .072 * for ADLS every 4MB is considered an operation
  • 24. Cost Comparison – Cool LRS Type Storage (Dollars/GB) Reads (per 10,000) Writes (per 10,000) Blob Storage (Cool) .015 .010 .100 ADLS Gen 2 (Cool) .015 .013 .130 * for ADLS every 4MB is considered an operation
  • 25. Cost Comparison – Archive LRS Type Storage (Dollars/GB) Reads (per 10,000) Writes (per 10,000) Blob Storage (Archive) .002 5.500 .110 ADLS Gen 2 (Archive) .002 7.15 .143 * for ADLS every 4MB is considered an operation
  • 26. Storage Redundancy Options Review redundancy and cost implications: https://azure.microsoft.com/en- us/pricing/details/storage/
  • 28. Data Warehouse Defined Structured Data Processed and modeled for analytics use Interactive queries Analysts can get answers to questions quickly BI tool support Reporting tools can query efficiently
  • 29. Speed of thought Why Data Warehouses? • Fast query response • Indexing or column store • SQL with analytic functions Reason #1
  • 30. Reason #2 Ready to use data Why Data Warehouses? • Useful column names • Cleaned and standardized • Focused
  • 31. Update/Delete Why Data Warehouses? • Support for real-time ingestion • Keep latest view or manage history Reason #3
  • 32. Data Warehouse Best Practices • Staging data off limits • Star schema design • Indexing strategies • Read replicas
  • 33. Azure SQL DB • Good ole relational database • Less DBA work required • Scalable on demand • Medium cost: $$ - $$$$ Managed SQL Server
  • 34. Azure SQL DB – Elastic pools • DBs can auto-scale within the pool • Can move DB to different pool • Want DBs peak usage at different times • Important to understand utilization of DBs Resources shared among DBs
  • 35. Azure SQL DB – Managed Instances Most on-premise features supported • SQL Agent jobs • Change Data Capture • Enabled CLR • Cross database queries • DB Mail • Service Broker • Transactional Replication Best for migrations
  • 36. Azure SQL DB – Hyperscale • Storage, Compute, and Log scale separately • Backups, restores and scaling not tied to volume of data • Optimized for OLTP, but supports analytical workloads • One way migration Highly scalable storage and compute
  • 38. D E M O Azure SQL DB: Analytics querying
  • 39. Azure Synapse Analytics - SQL DW • MPP - fast reads, many users • Supports Polybase • Scalable on demand • High cost: $$$$ High performance Analytic DB
  • 40. D E M O Synapse Analytics (SQL DW): Analytics querying
  • 41. Cosmos DB • Useful for in-app analytics • Best with known search key, e.g. CustomerID • Key-value, Column-family, Document, Graph • SQL, Cassandra, MongoDB, Gremlin, Table, etcd, Spark • Medium cost: $$ - $$$ Managed NoSQL
  • 43. Shared semantic model Cache data Azure Analysis Services Build calculations and aggregations into a model that can be used by many analytics tools Improve query speeds by caching data
  • 44. Visual report tool Supports most sources Power BI Build interactive dashboards and reports or do exploratory data analysis Connects to everything Azure and many other source types
  • 45. D E M O Power BI: Connect to Data Lake
  • 47. Keep Learning! Databricks / ETL 10 Cool Things You Can Do With Azure Databricks – Ike, Simon, Dustin An Azure Data Engineer's ETL Toolkit – Simon Whiteley Code Like a Snake Charmer - Introduction to Python! – Jamey Johnston Code Like a Snake Charmer – Advanced Data Modeling in Python! – Jamey Johnston Cosmos Cosmic DBA - Cosmos DB for SQL Server Admins and Developers – Michael Donnelly CosmosDB - Designing and Troubleshooting Lessons – Neil Hambly Data Modeling Data Modeling Trends for 2019 and Beyond – Ike Ellis Innovative Data Modeling for Cool Data Warehouses – Jeff Renz, Leslie Weed Data Warehouse / SQL DB Best, Better, Hyperscale! The Last Database You will Ever Need in the Cloud – Denzil Ribeiro Introducing Azure Synapse Analytics: The End-to-End Analytics Platform Built for Every Data Professional – Saveen Reddy Azure SQL Database: Maximizing Cloud Performance and Availability – Joe Sack, Denzil Ribeiro Delivering a Data Warehouse in the Cloud – Jeff Renz Data Warehousing: Which of the Many Cloud Products is the Right One for You? – Ginger Grant
  • 48. Session Evaluations Submit by 5pm Friday, November 15th to win prizes. Download the GuideBook App and search: PASS Summit 2019 Follow the QR code link on session signage Go to PASSsummit.com 3 W A Y S T O A C C E S S

Editor's Notes

  1. Part of “Becoming an Azure Data Engineer” learning pathway - https://www.pass.org/summit/2019/Learn/LearningPathways.aspx#AzureDataEngineer Azure Storage Options for Analytics - https://www.pass.org/summit/2019/Learn/SessionDetails.aspx?sid=94120
  2. I’m easy to find – just look for my full name or go to dustinvannoy.com
  3. Things a data lake will have: Varied data – raw, intermediate, and fully processed data all included. Varied type – normally multiple file formats and includes data that isn’t fully structured/modeled Usable by analysts – some type of query layer or other analytic access should be available Large capacity – assumed that a data lake isn’t a place where we question the value of every file and field, typically the history kept here is large Where does the analogy come from: James Dixon from Pentaho in 2010 – if thinking about data marts or analytic data tables, they are your bottled water – structured and refined, ready to go. The data lake is a place that data streams in and people can come to examine it, dive in, or take a sample. Reference: Stacia Varga on RunAs Radio podcast.
  4. Data Marts need to be cleaned. Too much data flowing in is imposible to clean, so we store it all in raw form and do some processing in the data lake layer. Instead of a backlog of data that needs cleaned and structured for analytics, we make the data available prior to much cleaning happening
  5. 10:00 Duration: 5 minutes Overview of querying a data lake in Azure without explaining the storage and tools involved. Quick overview of Azure Databricks as a place for data lake analytics. Show using azure databricks, use million songs dataset and nyc trips Describe how storage is separate from querying, data_lake_sql_demo: show different ways of using SQL only in Databricks – discuss that data is actually stored in Azure Storage create_spark_tables_v2: show how by learning a little bit of PySpark code you can create tables or transform data using data frames
  6. Metadata portal – some type of data discovery and documentation is really beneficial. The tools out there to enable this are never out of the box, a lot of work has to happen to get enough metadata captured for users to actually find what they want. Some processing as done and that processed data is stored back into the lake. Not necessarily all processed data needs to go back to the lake, but just dumping data into Azure Storage is not enough to expect the results you desire from building a Data Lake. Have some certified data sets – this is one that Finance has used for their monthly reporting so you can count on it to be maintained and align with what stakeholders have seen as top level numbers Balanced access - few users have access to ALL data, but a good amount of data is available by default for analysts and users trained in data privacy and confidentiality. If you put all the data in the lake and make it a pain to get to, you will not get the experimentation and unplanned discoveries that are possible when data is made available to smart people.
  7. Blobs can be one of three types: Block blobs Append blobs Page blobs
  8. To store data we have to create an Azure Storage Account. You may think of these as a namespace or root directory. Within each storage account we may create many containers, similar to directories that help us organize data. Within a container we can store our data in blobs which is easiest to think of as a file, though it is a bit more complex than that. Reference: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction
  9. "The hierarchical namespace organizes objects/files into a hierarchy of directories for efficient data access. A common object store naming convention uses slashes in the name to mimic a hierarchical directory structure. This structure becomes real with Data Lake Storage Gen2. Operations such as renaming or deleting a directory become single atomic metadata operations on the directory rather than enumerating and processing all objects that share the name prefix of the directory.” - https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-introduction
  10. ” Hadoop compatible access: Data Lake Storage Gen2 allows you to manage and access data just as you would with a Hadoop Distributed File System (HDFS). The new ABFS driver is available within all Apache Hadoop environments, including Azure HDInsight, Azure Databricks, and SQL Data Warehouse to access data stored in Data Lake Storage Gen2.” https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-introduction
  11. The options for analytics will be discussed more in a later section but a quick mention of how we expect to access ADLS data Polybase - There is no pushdown computation support, so PolyBase is mostly used for data loading from ADLS Gen2 - https://www.jamesserra.com/archive/2019/09/ways-to-access-data-in-adls-gen2/ Power BI – directly (beta) or in dataflows (preview)
  12. 25:00 Duration 5 min Should show uploading data and using databricks
  13. https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers
  14. See FAQ on billing scenario for example: https://azure.microsoft.com/en-us/pricing/details/storage/data-lake/
  15. See FAQ on billing scenario for example: https://azure.microsoft.com/en-us/pricing/details/storage/data-lake/
  16. See FAQ on billing scenario for example: https://azure.microsoft.com/en-us/pricing/details/storage/data-lake/
  17. Raw and intermediate data is normally in a backend staging area (separate database or schema) that only the data warehouse development team can get to Star schema design to balance storage, indexing, and joining Conformed dimensions – one version of customer dimension data, common calendar table, etc. Slow cahnging dimensions – there are techniques used for tracking history to dimension values. An example is if a product is re-assigned to a new product category. You can choose to just overwrite product category which simplifies new queries but means all reports built using product category in the past will not be possible to recreate. Indexing or partitioning carefully considered Read replicas to reduce locking and resource contention for those reading data and the jobs writing data
  18. Elastic querying with external tables
  19. When to use: https://docs.microsoft.com/en-us/azure/sql-database/sql-database-elastic-pool#when-should-you-consider-a-sql-database-elastic-pool
  20. SQL Server Agent jobs Change Data Capture  * Enabled CLR * Cross database queries * DB Mail enabled * Service Broker Transactional Replication References: https://docs.microsoft.com/en-us/azure/sql-database/sql-database-paas-vs-sql-server-iaas https://docs.microsoft.com/en-us/azure/sql-database/sql-database-features
  21. Scaling transactional systems horizontally is something that the industry has struggled with forever. Hyperscale is going to keep your data consistent while at the same time scaling storage and compute. Hyperscale – really cool technology where they separate the storage engine used by SQL Server and scale that out – called Page Servers instead of Storage Engine. Each Page server stores up to 128 GB of data pages and has secondary. Scales out horizontally by adding more page servers. Multi tiered architecture, SSD based caching on compute later, SSD based cache on page server. Scale up by adding more cores very rapidly (spin up new compute in a couple minutes and failover to the new compute near instantaneous) Scale out with ready only compute Built on SQL Server engine so same experience you are used to 100 TB storage (will expand) Compute scales fast and independently of storage References: Kevin Farlee - https://www.youtube.com/watch?v=Z9AFnKI7sfI
  22. Hyperscale – really cool technology where they separate the storage engine used by SQL Server and scale that out – called Page Servers instead of Storage Engine. Each Page server stores up to 128 GB of data pages and has secondary. Scales out horizontally by adding more page servers. Multi tiered architecture, SSD based caching on compute later, SSD based cache on page server. Scale up by adding more cores very rapidly (spin up new compute in a couple minutes and failover to the new compute near instantaneous) Scale out with ready only compute Built on SQL Server engine so same experience you are used to 100 TB storage (will expand) Compute scales fast and independently of storage References: Kevin Farlee - https://www.youtube.com/watch?v=Z9AFnKI7sfI
  23. 40:00 Duration: 5 min Show options of general purpose, business critical, and hypserscale
  24. SQL DW – trade off some of the SQL features but able to scale as MPP – going to lose some things like foreign keys which may not be required for analytics but consider that carefully to make sure you are comfortable without the features that don’t fit in this MPP service. Usually cost is the main factor, expecting you to need to query multiple terabytes of structured data and get much faster performance than a standard database solution provides. Will not be best option for random seeks, such as looking up a single item or small amount of items in a large dataset. Expects you to do operations that would require table scans and is built to handle those way better by parallelizing the load.
  25. 50:00 Duration: 5 min
  26. Document – Microsoft Document (recommended) or MongoDB (migrations). Set at collection level, have to use that API for that collection. SQL API – work on top of Microsoft Document Cassandra – eventually consistent option, different tradeoffs than Document option Graph – Gremlin, etc KeyValue – Azure Table Storage API – highly consistent
  27. Typically you will build out a star schema in SQL DB and then import to analysis services
  28. Can import data into its own data model so may skip analysis services cube and only store in Power BI dataset. Possible to share via Power BI Shared Datasets, but development experience will be different than with cubes and you can only use from Power BI (though some additional options if you have Power BI Premium, may be a good option for larger organizations).
  29. 65:00 Duration: 5 min https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-use-power-bi Path and key in presentationfolder/powerbi_adls_info.txt https://dvtrainingadls.dfs.core.windows.net/demo/spotify/
  30. Can import data into its own data model so may skip analysis services cube and only store in Power BI dataset. Possible to share via Power BI Shared Datasets, but development experience will be different than with cubes and you can only use from Power BI (though some additional options if you have Power BI Premium, may be a good option for larger organizations).
  31. See FAQ on billing scenario for example: https://azure.microsoft.com/en-us/pricing/details/storage/data-lake/