Upload
others
View
3
Download
0
Embed Size (px)
Citation preview
Learn. Connect. Explore.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
DetailsMachine
name
Clouse
Service
Gallery ImageOperating
System
SQL Release
& Edition
Machine Size RAM CPU
Storage
Use an
existing or
new
Configuration
detailsPorts 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!!!
ReferencesRelated 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
Facebookfacebook.com/MicrosoftDeveloper.India
twitter.com/msdevindia
sqlsourabhbanerjeeamit
www.troubleshootingsql.comwww.sqluninterrupted.com
Facebook.com/TroubleshootingSQL