Azure SQL Data Warehouse Scaling: Configuration and Guidance

Slides:



Advertisements
Similar presentations
Review DirectQuery in SSAS 2016, best practices and use cases
Advertisements

Learn how the cloud is accelerating network transformation
5 reasons to store your backups on ReFS 3.0 and Storage Spaces
C# and VB code-focused development with Visual Studio
2/20/2018 7:04 PM BRK1038 Meet Azure Information Protection customers and learn about their success stories Jeffrey Kalfut Strategy & Architecture Manager,
BRK1017 Taking your hybrid management and security strategy to the cloud with Operations Management Suite Jeremy Winter and Srini Chandrasekar.
Enterprise grade security in your Hadoop clusters on Azure
Microsoft Ignite /30/2018 9:28 PM BRK3174
Extending IT Best Practices to Microsoft Azure
Transform yourself and build your IT cloud career path
Deliver business insights with Microsoft Dynamics AX and Power BI
Examine information management in Cortana Intelligence
Develop, debug and deploy containerized applications with Docker
Microsoft Ignite /22/2018 7:21 PM BRK2007
Operational Analytics in SQL Server 2016 and Azure SQL Database
Build interactive data analysis environments using Apache Spark
Microsoft /2/2018 3:42 PM BRK3129 Query Big Data using the Expanded T-SQL footprint with PolyBase in SQL Server 2016 Casey Karst Program Manager.
BRK3288-Discover data-driven apps that learn and adapt
Windows Server* 2016 & Intel® Technologies
Conduct a successful pilot deployment of Microsoft Intune
Review the Nutanix Cloud Platform System Standard solution
Microsoft Ignite /11/2018 1:18 AM BRK4017
Microsoft /23/2018 1:11 AM BRK3180 Migrate CRM OnPremise organizations to CRM Online cloud using Dynamics Lifecycle Services (LCS) Aditya Varma Ganapathy.
Web development productivity with Visual Studio
Deep Dive into the Azure Container Service
Innovate with Microsoft BI in the enterprise
Red Hat OpenShift on Microsoft Azure
Elastic database patterns for SaaS applications in Azure
Azure Functions and Automation: The SQL Agent in the Cloud
Microsoft Ignite /22/2018 3:27 PM BRK2121
Secure Remote Access to on-premises Web Apps using Azure AD
7/22/2018 9:21 PM BRK3270 Building a Better Data Solution: Microsoft SQL Server and Azure Data Services Joey D’Antoni Principal Consultant Denny Cherry.
BRK2264 Move 13,000+ global Dynamics CRM users from on-premises to Online at Caterpillar Inc. Todd Byrne & John Finney 1 Business Unit Name Here.
Master Modern PaaS for the Enterprise with Azure App Service
BRK1018 Discover how Manulife and Rackspace manage their hybrid environments today Satya Vel Principal Program Manager Operations Management Suite + System.
Get Started with Common Data Model (CDM) and PowerApps
Microsoft Ignite /8/2018 3:50 PM BRK2112
Design Seamless Upgrades to SQL Server 2016 with Query Store
Microsoft /8/2018 4:45 PM BRK3062 BRK3062- Build smarter and scalable applications using Microsoft Azure Database Services Moshe Gutman CEO, GeoSafe.
Bring new levels of visibility to your datacenter with Cisco Tetration
Microsoft Ignite /16/2018 2:39 PM BRK3307
Add intelligence to Dynamics AX with Cortana Intelligence suite
Use server-based personal desktops in Windows Server 2016
02 | Design and implement database
A developers guide to Azure SQL Data Warehouse
Monitor your Microservices with Application Insights
Accelerate Your Transition from Traditional IT to the Cloud
Deploy Windows 10 Mobile for the mobile workforce
BRK Maximize the power of SQL Azure with Dynamics AX
Microsoft Ignite /13/ :55 PM BRK3153
Explore web development with Microsoft ASP.NET Core 1.0
Microsoft Ignite /14/ :21 AM BRK2101
Meetup: Use Microsoft Technologies to Real World IoT Scenario
Migrate to CRM Online - Tips and Tricks
Searching for Rio: Azure Search, NBC Sports, and the Olympics
Determine your role in a managed service
Dive into Predictive Maintenance using Cortana Intelligence Suite
Microsoft Ignite /17/2018 2:42 AM BRK2223
Secure your Active Directory to mitigate risk in the cloud
Project Springfield Fuzz your code before hackers do
Microsoft Ignite /20/2018 2:21 PM
Microsoft Ignite /22/2018 3:58 PM BRK2254
Build and maintain applications with Azure Resource Manager
Automating Windows 10 and software deployments from the Cloud
A developers guide to Azure SQL Data Warehouse
Task recorder in Dynamics AX
Learn how to use and customize the Dynamics AX interactive help system
What query folding means to self-service BI projects
Context about the Data Warehouse
Meetup User Experience Design for SharePoint
Presentation transcript:

Azure SQL Data Warehouse Scaling: Configuration and Guidance Microsoft 2016 9/21/2018 5:22 AM BRK3291 Azure SQL Data Warehouse Scaling: Configuration and Guidance JRJ & Kevin SQLDW PMs jrj@microsoft.com kevin@microsoft.com © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Agenda Compute Scaling Storage Sizing Pricing Scenarios Q&A TechReady 23 9/21/2018 5:22 AM Agenda Compute Scaling Storage Sizing Pricing Scenarios Q&A © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Elastic Scale Concepts

Separation of compute from storage Microsoft Build 2016 Separation of compute from storage 9/21/2018 5:22 AM Compute Control Premium Storage © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Independently scale compute Microsoft Build 2016 Independently scale compute 9/21/2018 5:22 AM Compute Control Premium Storage © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Pause and resume workload Microsoft Build 2016 Pause and resume workload 9/21/2018 5:22 AM Compute Control Premium Storage © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Geo-redundancy Microsoft Build 2016 9/21/2018 5:22 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Introducing Data Warehouse Units CPU DWU DW100 DW200 DW300 DW400 DW500 DW600 DW1000 DW1200 DW1500 DW2000 DW3000 DW6000 ALTER DATABASE ContosoDW MODIFY (service_objective = 'DW1000' ) ; RAM I/O

9/21/2018 5:22 AM Compute scaling © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Starting point: Sizing by capacity 0-4 TBs 4-8 TBs 8-12 TBs 12-16 TBs 16-20 TBs 20-36 TBs 36-48 TBs 48-60 TBs 60-80 TBs 80-160 TBs >160 TBs 100 200 300 400 500 600 1000 1200 1500 2000 3000 6000 Recommended starting point Flexibility to select any range of DWUs

Compute scaling factors Concurrency Transaction size Load Memory Data Warehouse Unit (DWU)

Concurrency: queries QID 32 active queries open sessions 1024

Concurrency: slots TechReady 23 9/21/2018 5:22 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Concurrency slot consumption TechReady 23 9/21/2018 5:22 AM Concurrency slot consumption 1 2-3 4-5 © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Concurrency impact: queries & slots

Transaction Size Microsoft Build 2016 9/21/2018 5:22 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Use mediumrc+ for high DWU loads Microsoft Build 2016 9/21/2018 5:22 AM Data loading DWU Max External Readers Max Writers DW100 8 60 DW200 16 DW300 24 DW400 32 DW500 40 DW600 48 DW1000 80 DW1200 96 DW1500 120 DW2000 160 DW3000 240 DW6000 480 Exception 60 Writers Target Table = CI or NCI Load user is defaultrc TAKE AWAY Use mediumrc+ for high DWU loads © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Load scaling 30-32 MB/Sec/Node 110-115 GB/Hour/Node

Loading delimited text A compressed text file cannot be read in parallel Splitting data across multiple files maximises load performance

Memory Management (MB per distribution) Service admin account

Memory grant sizing factors Target rows in the rowgroup Table Overhead #columns #short string character typed columns #long string character typed columns

Est. mem grant example #1: 10 column table

Est. mem grant example #2: 30 column table

Demo: Memory Sizing JRJ

Storage Sizing

Storage tiers Local storage Premium storage (remote) Blob storage (remote and geo redundant)

Data locations Local Premium Blob Tempdb Data files Geo-backup Billed to customer Local Premium Blob Tempdb Data files Geo-backup Log files Snapshots

Local Storage: Tempdb sizing Microsoft Build 2016 9/21/2018 5:22 AM Local Storage: Tempdb sizing ~399GB per DW100 © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Premium storage: Capacity limits TechReady 23 9/21/2018 5:22 AM Premium storage: Capacity limits 240TB File capacity 5x CCI compression >1PB Db capacity © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Premium Storage: Database Size TechReady 23 9/21/2018 5:22 AM Premium Storage: Database Size Unallocated Unused Total DB Size Reserved Space Index Used Space Data Log © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Premium Storage: Unallocated Space TechReady 23 9/21/2018 5:22 AM Premium Storage: Unallocated Space 4TB Unallocated 12TB Reserved 4TB Reserved 12TB Unallocated 16 TB © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Premium Storage: Snapshots TechReady 23 9/21/2018 5:22 AM Premium Storage: Snapshots Frequency Retention 4 hours 7 days RPO : 8 Hours © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Blob Storage: Geo-redundant backups TechReady 23 9/21/2018 5:22 AM Blob Storage: Geo-redundant backups Frequency and Retention 1 Geo-backup 24hr RPO © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Capping storage capacity Microsoft Build 2016 9/21/2018 5:22 AM Capping storage capacity CREATE DATABASE MyDB COLLATE SQL_Latin1_General_CP1_CI_AS ( EDITION = 'DataWarehouse' , SERVICE_OBJECTIVE = 'DW400' , MAXSIZE = 10240 GB ); ALTER DATABASE MyDB MODIFY (MAXSIZE = 245760 GB); © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Storage sizing summary TechReady 23 9/21/2018 5:22 AM Storage sizing summary Database size: sp_spaceused Table sizing: DMVs Snapshot size: Total storage size (portal) – database size (sp_spaceused) Free space (unallocated): © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Pricing

Compute pricing: DWU $900 Per DWU100 Per Month

Storage sizing: Premium storage $122.88 TiB / Month Data files Log files Snapshots

Storage pricing: Geo-redundant backups $0.12 GB / Month

Pricing scenarios Microsoft Build 2016 9/21/2018 5:22 AM GA price: Storage: $122.88 DWU: $1.21 © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Pricing scenarios Microsoft Build 2016 9/21/2018 5:22 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Summary

Summary of the session Session Objective(s): Key takeaways: TechReady 23 9/21/2018 5:22 AM Summary of the session Session Objective(s): Elastic scale concepts Understand compute scaling factors Understand all components of the storage model Explain how compute and storage affects pricing with SQL Data Warehouse Key takeaways: Understand compute scaling and analyze memory requirements Compute scaling is the primary cost driver Elasticity empowers cost optimization and different utilization patterns Storage is not just data in the database © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Free IT Pro resources To advance your career in cloud technology Microsoft Ignite 2016 9/21/2018 5:22 AM Free IT Pro resources To advance your career in cloud technology Plan your career path Microsoft IT Pro Career Center www.microsoft.com/itprocareercenter Cloud role mapping Expert advice on skills needed Self-paced curriculum by cloud role $300 Azure credits and extended trials Pluralsight 3 month subscription (10 courses) Phone support incident Weekly short videos and insights from Microsoft’s leaders and engineers Connect with community of peers and Microsoft experts Get started with Azure Microsoft IT Pro Cloud Essentials www.microsoft.com/itprocloudessentials Demos and how-to videos Microsoft Mechanics www.microsoft.com/mechanics Connect with peers and experts Microsoft Tech Community https://techcommunity.microsoft.com © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Please evaluate this session 9/21/2018 5:22 AM Please evaluate this session Your feedback is important to us! From your PC or Tablet visit MyIgnite at http://myignite.microsoft.com From your phone download and use the Ignite Mobile App by scanning the QR code above or visiting https://aka.ms/ignite.mobileapp © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9/21/2018 5:22 AM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.