SlideShare a Scribd company logo
Learn. Connect. Explore.
SQL Performance: Demystified 
on Azure VMs 
Sourabh Agarwal | Amit Banerjee 
Sr. Premier Field Engineer | Microsoft Services
Who are We? 
Sourabh Agarwal 
Amit Banerjee
Agenda 
Azure IaaS Cheat Sheet Demo Magic
Azure Infrastructure-as-a-Service 
Your Virtual Machine 
on-the-go 
Compute, Storage, 
Network, Memory 
CAPEX vs OPEX
Building your Virtual Machine 
Click, 
type, 
next 
Post-deployment 
configuration
Details 
Machine 
name 
Clouse 
Service 
Gallery Image 
Operating 
System 
SQL Release 
& Edition 
Machine Size RAM CPU 
Storage 
Use an 
existing or 
new 
Configuration 
details 
Ports Affinity 
Availability 
Set 
Building your Virtual Machine
Post-Deployment 
No more Storage 
Admin 
Local is good Follow Best 
Practices
Cheat Sheet - Storage 
• 20,000 IOPs 
• 500 IOPs/Data Disk 
• 64-KB allocation unit size for data and log files as well as tempdb 
• Use Storage Spaces on Windows Server 2012 and above 
• Do not store data on the temporary drive unless for tempdb and buffer 
pool extension on SSD drives (D-series VMs) 
• Separate storage for data and log files 
• Caching policy = NONE 
• Backup to BLOB storage 
• Disable GEO-replication on storage account
Cheat Sheet SQL Server 
• Use LPIM 
• Use >A3 for Enterprise Edition & >A2 for Standard Edition 
• Disable autoshrink 
• Enable instant file initialization 
• Use database page compression
DEMO Magic 
Up above the sky so high…… 
Create 
Automate 
… AND voila!!!
References 
Related references for you to expand your knowledge on the subject 
Azure Pricing Calculator 
http://azure.microsoft.com/en-us/pricing/calculator/?scenario=full 
Pricing Overview 
http://azure.microsoft.com/en-us/pricing/overview/ 
Getting started with a SQL Server VM on Azure 
http://msdn.microsoft.com/library/azure/dn133151.aspx 
Setting up a SQL Azure VM 
http://troubleshootingsql.com/2014/05/30/setting-up-sql-server-on- 
azure-for-testing/ 
Whitepaper: Performance Guidance for SQL Server VMs 
http://msdn.microsoft.com/library/azure/dn248436.aspx 
technet.microsoft.com/en-in 
aka.ms/mva 
msdn.microsoft.com/
Follow us online 
Facebook 
facebook.com/MicrosoftDeveloper.India 
Twitter 
twitter.com/msdevindia 
sqlsourabh 
banerjeeamit 
Facebook.com/TroubleshootingSQL 
www.troubleshootingsql.com 
www.sqluninterrupted.com 
admin@troubleshootingsql.com
Performance Demystified for SQL Server on Azure Virtual Machines

More Related Content

What's hot (20)

PPTX
Windows Azure Virtual Machines
Neil Mackenzie
 
PPTX
Azure IaaS
Guy Barrette
 
PDF
Soyez le maître du PRA - MS Cloud Summit Paris 2017
Marius Zaharia
 
PDF
Samedi SQL Québec - Database Backup & copy to Azure par Eric Moreau
MSDEVMTL
 
PDF
Azure Virtual Machines Deployment Scenarios
Brian Benz
 
PDF
Mongo db world 2014 nyc mongodb on azure - tips tricks and examples
Brian Benz
 
PPTX
Road to cloud-iaas
Hatem Al Sum
 
PPTX
Sql Server 2014 Hybrid Cloud
BT Akademi
 
PDF
Big App Workloads on Microsoft Azure - TechEd Europe 2014
Brian Benz
 
PDF
Aliaba Cloud Singapore Meetup- ECS Deep Dive
Chirag Nayyar
 
PPTX
WindowsAzureIAAS
Saravanan G
 
PDF
Tech Ed North America 2014 - Java on Azure
Brian Benz
 
PPTX
IaaS for DBAs in Azure
Kellyn Pot'Vin-Gorman
 
PPTX
Microsoft Azure - News - December 2014
Daniel Toomey
 
PDF
Optimising PyroCMS for speed and performance boosts
saintsatplay
 
PDF
High Performance Drupal
Chapter Three
 
PPTX
Keynote - Silicon Valley Cloud Computing User Group Meet - April 2011 - Srira...
Sriram Krishnan
 
PPT
Aws
rajneeshbbsr
 
PPTX
Azure Recovery Services
Pavel Revenkov
 
PPTX
WindowsAzureSDK1.7
Saravanan G
 
Windows Azure Virtual Machines
Neil Mackenzie
 
Azure IaaS
Guy Barrette
 
Soyez le maître du PRA - MS Cloud Summit Paris 2017
Marius Zaharia
 
Samedi SQL Québec - Database Backup & copy to Azure par Eric Moreau
MSDEVMTL
 
Azure Virtual Machines Deployment Scenarios
Brian Benz
 
Mongo db world 2014 nyc mongodb on azure - tips tricks and examples
Brian Benz
 
Road to cloud-iaas
Hatem Al Sum
 
Sql Server 2014 Hybrid Cloud
BT Akademi
 
Big App Workloads on Microsoft Azure - TechEd Europe 2014
Brian Benz
 
Aliaba Cloud Singapore Meetup- ECS Deep Dive
Chirag Nayyar
 
WindowsAzureIAAS
Saravanan G
 
Tech Ed North America 2014 - Java on Azure
Brian Benz
 
IaaS for DBAs in Azure
Kellyn Pot'Vin-Gorman
 
Microsoft Azure - News - December 2014
Daniel Toomey
 
Optimising PyroCMS for speed and performance boosts
saintsatplay
 
High Performance Drupal
Chapter Three
 
Keynote - Silicon Valley Cloud Computing User Group Meet - April 2011 - Srira...
Sriram Krishnan
 
Azure Recovery Services
Pavel Revenkov
 
WindowsAzureSDK1.7
Saravanan G
 

Viewers also liked (14)

PPT
Virtual Machine Performance
Qian Lin
 
POTX
Splunking the JVM (Java Virtual Machine)
Damien Dallimore
 
PDF
The Real Thing: Java Virtual Machine
Frontech
 
PPTX
Java virtual machine
Nikhil Sharma
 
PPTX
Virtual machines and their architecture
Mrinmoy Dalal
 
PDF
Virtual Machines
Joa Ebert
 
PPT
Virtual machine
Nikunj Dhameliya
 
PDF
Знакомство с Ethereum virtual machine
Sergey Lonshakov
 
PDF
Virtualization with KVM (Kernel-based Virtual Machine)
Novell
 
PPTX
Virtual machine
IGZ Software house
 
PPTX
1.Introduction to virtualization
Hwanju Kim
 
PPSX
Virtualization basics
Chandrani Ray Chowdhury
 
PPTX
Virtualization 101: Everything You Need To Know To Get Started With VMware
Datapath Consulting
 
PDF
Introduction to virtualization
Sasikumar Thirumoorthy
 
Virtual Machine Performance
Qian Lin
 
Splunking the JVM (Java Virtual Machine)
Damien Dallimore
 
The Real Thing: Java Virtual Machine
Frontech
 
Java virtual machine
Nikhil Sharma
 
Virtual machines and their architecture
Mrinmoy Dalal
 
Virtual Machines
Joa Ebert
 
Virtual machine
Nikunj Dhameliya
 
Знакомство с Ethereum virtual machine
Sergey Lonshakov
 
Virtualization with KVM (Kernel-based Virtual Machine)
Novell
 
Virtual machine
IGZ Software house
 
1.Introduction to virtualization
Hwanju Kim
 
Virtualization basics
Chandrani Ray Chowdhury
 
Virtualization 101: Everything You Need To Know To Get Started With VMware
Datapath Consulting
 
Introduction to virtualization
Sasikumar Thirumoorthy
 
Ad

Similar to Performance Demystified for SQL Server on Azure Virtual Machines (20)

PPTX
Implement SQL Server on an Azure VM
James Serra
 
PPTX
Designing azure compute and storage infrastructure
Abhishek Sur
 
PDF
Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta
Databricks
 
PPTX
Move to azure
feature[23]
 
PDF
A to z for sql azure databases
Antonios Chatzipavlis
 
PPTX
02_DP_300T00A_Plan_implement.pptx
KareemBullard1
 
PDF
Deploying asp.net and mvc applications to azure
Glyn Darkin
 
PPTX
Taking SharePoint to the Cloud
Aaron Saikovski
 
PPTX
Cloud computing 3702
Jess Coburn
 
PPTX
Should I move my database to the cloud?
James Serra
 
PPTX
Azure Databases with IaaS
Kellyn Pot'Vin-Gorman
 
PPTX
SQL ON Azure (decision-matrix)
PARIKSHIT SAVJANI
 
PPTX
Become an Automation Ninja in 60 Minutes
Michael Rüefli
 
PPTX
Sergiy Lunyakin "Cloud BI with Azure Analysis Services"
DataConf
 
PPTX
SPIntersection 2016 - TO THE CLOUD! USING IAAS AS A HOSTING PROVIDER FOR SHAR...
Scott Hoag
 
PPTX
Azure virtual machines & Terraform
Juan Jose Gazzola
 
PPTX
SPSDC - To the Cloud! Using IaaS as a Hosting Provider for SharePoint
Scott Hoag
 
PPTX
My most complex ARM template - Story from the trenches
Nills Franssens
 
PPTX
SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)
BT Akademi
 
PPTX
Get started With Microsoft Azure Virtual Machine
Lai Yoong Seng
 
Implement SQL Server on an Azure VM
James Serra
 
Designing azure compute and storage infrastructure
Abhishek Sur
 
Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta
Databricks
 
Move to azure
feature[23]
 
A to z for sql azure databases
Antonios Chatzipavlis
 
02_DP_300T00A_Plan_implement.pptx
KareemBullard1
 
Deploying asp.net and mvc applications to azure
Glyn Darkin
 
Taking SharePoint to the Cloud
Aaron Saikovski
 
Cloud computing 3702
Jess Coburn
 
Should I move my database to the cloud?
James Serra
 
Azure Databases with IaaS
Kellyn Pot'Vin-Gorman
 
SQL ON Azure (decision-matrix)
PARIKSHIT SAVJANI
 
Become an Automation Ninja in 60 Minutes
Michael Rüefli
 
Sergiy Lunyakin "Cloud BI with Azure Analysis Services"
DataConf
 
SPIntersection 2016 - TO THE CLOUD! USING IAAS AS A HOSTING PROVIDER FOR SHAR...
Scott Hoag
 
Azure virtual machines & Terraform
Juan Jose Gazzola
 
SPSDC - To the Cloud! Using IaaS as a Hosting Provider for SharePoint
Scott Hoag
 
My most complex ARM template - Story from the trenches
Nills Franssens
 
SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)
BT Akademi
 
Get started With Microsoft Azure Virtual Machine
Lai Yoong Seng
 
Ad

More from Amit Banerjee (20)

PPTX
The Roadmap for SQL Server 2019
Amit Banerjee
 
PPTX
Azure database services for PostgreSQL and MySQL
Amit Banerjee
 
PPTX
Upgrade your SQL Server like a Ninja
Amit Banerjee
 
PPTX
SQL PASS 2017 - Building one million predictions per second using SQL Server ...
Amit Banerjee
 
PPTX
Building 1 million predictions per second using SQL-R
Amit Banerjee
 
PPTX
Troubleshooting common scenarios with Always On - A Dress Rehearsal
Amit Banerjee
 
PPTX
Enhancements to High Availability, Disaster Recovery and Replication
Amit Banerjee
 
PPTX
Securing SQL Server with TLS 1.2
Amit Banerjee
 
PPTX
AlwaysOn Troubleshooting Improvements
Amit Banerjee
 
PPTX
Always On Availability Group Troubleshooting Ninja
Amit Banerjee
 
PPTX
Debugging made easier with extended events
Amit Banerjee
 
PPTX
You, SQL Server and PowerShell
Amit Banerjee
 
PPTX
SQL Saturday 511 - Troubleshooting made easier using extended events
Amit Banerjee
 
PPTX
Slow query bring it on
Amit Banerjee
 
PPSX
Provisioning Azure Virtual Machines to run SQL Server
Amit Banerjee
 
PPSX
Backup enhancements with SQL Server 2014
Amit Banerjee
 
PPTX
Troubleshooting SQL Server using Power Pivot and Power View
Amit Banerjee
 
PPTX
SQL Server Tips and Tricks - Power
Amit Banerjee
 
PPTX
SQL Server Scheduling Basics
Amit Banerjee
 
PPT
System health session
Amit Banerjee
 
The Roadmap for SQL Server 2019
Amit Banerjee
 
Azure database services for PostgreSQL and MySQL
Amit Banerjee
 
Upgrade your SQL Server like a Ninja
Amit Banerjee
 
SQL PASS 2017 - Building one million predictions per second using SQL Server ...
Amit Banerjee
 
Building 1 million predictions per second using SQL-R
Amit Banerjee
 
Troubleshooting common scenarios with Always On - A Dress Rehearsal
Amit Banerjee
 
Enhancements to High Availability, Disaster Recovery and Replication
Amit Banerjee
 
Securing SQL Server with TLS 1.2
Amit Banerjee
 
AlwaysOn Troubleshooting Improvements
Amit Banerjee
 
Always On Availability Group Troubleshooting Ninja
Amit Banerjee
 
Debugging made easier with extended events
Amit Banerjee
 
You, SQL Server and PowerShell
Amit Banerjee
 
SQL Saturday 511 - Troubleshooting made easier using extended events
Amit Banerjee
 
Slow query bring it on
Amit Banerjee
 
Provisioning Azure Virtual Machines to run SQL Server
Amit Banerjee
 
Backup enhancements with SQL Server 2014
Amit Banerjee
 
Troubleshooting SQL Server using Power Pivot and Power View
Amit Banerjee
 
SQL Server Tips and Tricks - Power
Amit Banerjee
 
SQL Server Scheduling Basics
Amit Banerjee
 
System health session
Amit Banerjee
 

Recently uploaded (20)

PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPTX
Designing Production-Ready AI Agents
Kunal Rai
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Designing Production-Ready AI Agents
Kunal Rai
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
Advancing WebDriver BiDi support in WebKit
Igalia
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Biography of Daniel Podor.pdf
Daniel Podor
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 

Performance Demystified for SQL Server on Azure Virtual Machines

  • 2. SQL Performance: Demystified on Azure VMs Sourabh Agarwal | Amit Banerjee Sr. Premier Field Engineer | Microsoft Services
  • 3. Who are We? Sourabh Agarwal Amit Banerjee
  • 4. Agenda Azure IaaS Cheat Sheet Demo Magic
  • 5. Azure Infrastructure-as-a-Service Your Virtual Machine on-the-go Compute, Storage, Network, Memory CAPEX vs OPEX
  • 6. Building your Virtual Machine Click, type, next Post-deployment configuration
  • 7. Details Machine name Clouse Service Gallery Image Operating System SQL Release & Edition Machine Size RAM CPU Storage Use an existing or new Configuration details Ports Affinity Availability Set Building your Virtual Machine
  • 8. Post-Deployment No more Storage Admin Local is good Follow Best Practices
  • 9. Cheat Sheet - Storage • 20,000 IOPs • 500 IOPs/Data Disk • 64-KB allocation unit size for data and log files as well as tempdb • Use Storage Spaces on Windows Server 2012 and above • Do not store data on the temporary drive unless for tempdb and buffer pool extension on SSD drives (D-series VMs) • Separate storage for data and log files • Caching policy = NONE • Backup to BLOB storage • Disable GEO-replication on storage account
  • 10. Cheat Sheet SQL Server • Use LPIM • Use >A3 for Enterprise Edition & >A2 for Standard Edition • Disable autoshrink • Enable instant file initialization • Use database page compression
  • 11. DEMO Magic Up above the sky so high…… Create Automate … AND voila!!!
  • 12. References Related references for you to expand your knowledge on the subject Azure Pricing Calculator http://azure.microsoft.com/en-us/pricing/calculator/?scenario=full Pricing Overview http://azure.microsoft.com/en-us/pricing/overview/ Getting started with a SQL Server VM on Azure http://msdn.microsoft.com/library/azure/dn133151.aspx Setting up a SQL Azure VM http://troubleshootingsql.com/2014/05/30/setting-up-sql-server-on- azure-for-testing/ Whitepaper: Performance Guidance for SQL Server VMs http://msdn.microsoft.com/library/azure/dn248436.aspx technet.microsoft.com/en-in aka.ms/mva msdn.microsoft.com/
  • 13. Follow us online Facebook facebook.com/MicrosoftDeveloper.India Twitter twitter.com/msdevindia sqlsourabh banerjeeamit Facebook.com/TroubleshootingSQL www.troubleshootingsql.com www.sqluninterrupted.com [email protected]

Editor's Notes

  • #5: In this session, we will explain: What Azure Infrastructure-as-a-Service (IaaS) offers and how SQL Server can leverage the Azure IaaS offering A must-do and must-know for any SQL Server professional planning to deploy or managing SQL Server instances on Azure virtual machines Some demos which will showcase the magic of the cheat sheet and ensure that performance of your SQL Server instance
  • #6: The virtual machine that you provision on Azure is available to your anywhere as long as you have an internet connection and the right set of credentials. This gives you the benefit of using your Azure virtual machine directly from a machine connected to the internet. What’s more, you can even setup the necessary privileges to block access from external sources. The public and private port concept helps add a layer to security to your environment. The hardware resources are at your disposal to increase and decrease as you see fit. This provides elasticity to your environment. You can choose the Since this is an OPEX model, you pay for what you use. Reference: SQL Server on Azure http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-provision-sql-server/ Azure Virtual Machine Pricing http://azure.microsoft.com/en-us/pricing/details/virtual-machines/#Sql
  • #10: Every storage account, as of creating this slide deck (Oct 2014), has a limit of 20,000 IOPs and every data disk has a limit of 500 IOPs. Details of Azure Storage Throttling details and monitoring for the same can be found here: http://blogs.msdn.com/b/mast/archive/2014/08/02/how-to-monitor-for-storage-account-throttling.aspx
  • #11: More details about the above recommendations can be found here: http://msdn.microsoft.com/en-us/library/azure/dn133149.aspx