SlideShare a Scribd company logo
1 of 39
2
TOPIC
What’s new on Azure IaaS
for SQL VMs
Marco Obinu
@OmegaMadLab
Agenda
• What’s new on Azure IaaS for SQL VMs
• IaaS??? Is it still worth?
• Performance guidelines
• HA and networking
Who I am
@OmegaMadLab
https://github.com/OmegaMadLab
Marco Obinu
@OmegaMadLab
marco.obinu@omegamadlab.com
http://www.omegamadlab.com
https://github.com/OmegaMadLab
https://www.linkedin.com/in/marco-obinu-omegamadlab/
https://www.youtube.com/channel/UCpkBeQSscC1iBvpNP4VNTKQ
• Geek to the bone 
• Advisory Engineer @ SoftJam S.p.A.
• Azure Solution Architect Expert
IaaS??? Is it still worth?
SQL Server on Azure: proposition
I want
Azure!
SQL VM
Single DB / Pool
/ Hyperscale
More control? Less TCO?
Managed
Instance
On-prem L&S? New project?
MANAGEDBYVENDOR
APPLICATION
HYPERVISOR
OS
RUNTIME
DATA
STORAGE
NETWORK
IaaS
YOUMANAGE
SERVERS
MANAGEDBYVENDOR
APPLICATION
HYPERVISOR
OS
RUNTIME
DATA
STORAGE
NETWORK
PaaS
YOUMANAGE
SERVERS
Azure SQL Database
Everything built-in!
Business continuity
High availability
Automated backups
Long term backup retention
Geo-replication
Scale
Advanced security
Automatic tuning
Built-in monitoring
Built-in intelligence
Azure SQL Database
Everything built-in!
Business continuity
High availability
Automated backups
Long term backup retention
Geo-replication
Scale
Advanced security
Automatic tuning
Built-in monitoring
Built-in intelligence
configurable
VMs
SQL Server on Azure VMs
https://azure.microsoft.com/mediahandler/files/resourcefiles/sql-transactional-processing-price-performance-testing/GigaOm%20Azure%20SQL%20DB-
AWS%20RDS%20Price-Performance%20Benchmark%20Report.pdf
SQL Server on Azure VMs
SQL Server on Azure VMs
• Workload isolation
• Legacy products/functionalities not supported by PaaS or
time constraints
• Dev/Test environment
• Hybrid datacenters – DR scenarios
Performance guidelines
Choosing the right VM
Family Series Optimized for
General purpose B, Dsv3, Dv3, Dasv4,
Dav4, DSv2, Dv2, Av2,
DC, DCv2
Balanced CPU-to-memory ratio. Ideal for testing and development, small to
medium databases, and low to medium traffic web servers.
Compute
optimized
Fsv2 High CPU-to-memory ratio. Good for medium traffic web servers, network
appliances, batch processes, and application servers.
Memory
optimized
Esv3, Ev3, Easv4,
Eav4, Mv2, M, DSv2,
Dv2
High memory-to-CPU ratio. Great for relational database servers, medium to large
caches, and in-memory analytics.
Storage
optimized
Lsv2 High disk throughput and IO ideal for Big Data, SQL, NoSQL databases, data
warehousing and large transactional databases.
GPU NC, NCv2, NCv3, ND,
NDv2 (Preview), NV,
NVv3, NVv4
Specialized virtual machines targeted for heavy graphic rendering and video editing,
as well as model training and inferencing (ND) with deep learning. Available with
single or multiple GPUs.
High
performance
compute
HB, HBv2, HC, H Our fastest and most powerful CPU virtual machines with optional high-throughput
network interfaces (RDMA).
Choosing the right VM
Family Series Optimized for
General purpose B, Dsv3, Dv3, Dasv4,
Dav4, DSv2, Dv2, Av2,
DC, DCv2
Balanced CPU-to-memory ratio. Ideal for testing and development, small to
medium databases, and low to medium traffic web servers.
Compute
optimized
Fsv2 High CPU-to-memory ratio. Good for medium traffic web servers, network
appliances, batch processes, and application servers.
Memory
optimized
Esv3, Ev3, Easv4,
Eav4, Mv2, M, DSv2,
Dv2
High memory-to-CPU ratio. Great for relational database servers, medium to large
caches, and in-memory analytics.
Storage
optimized
Lsv2 High disk throughput and IO ideal for Big Data, SQL, NoSQL databases, data
warehousing and large transactional databases.
GPU NC, NCv2, NCv3, ND,
NDv2 (Preview), NV,
NVv3, NVv4
Specialized virtual machines targeted for heavy graphic rendering and video editing,
as well as model training and inferencing (ND) with deep learning. Available with
single or multiple GPUs.
High
performance
compute
HB, HBv2, HC, H Our fastest and most powerful CPU virtual machines with optional high-throughput
network interfaces (RDMA).
Choosing the right VM
Family Series Optimized for
General purpose B, Dsv3, Dv3, Dasv4,
Dav4, DSv2, Dv2, Av2,
DC, DCv2
Balanced CPU-to-memory ratio. Ideal for testing and development, small to
medium databases, and low to medium traffic web servers.
Memory
optimized
Esv3, Ev3, Easv4,
Eav4, Mv2, M, DSv2,
Dv2
High memory-to-CPU ratio. Great for relational database servers, medium to large
caches, and in-memory analytics.
Choosing the right VM
Family Series Optimized for
General purpose B, Dsv3, Dv3, Dasv4,
Dav4, DSv2, Dv2, Av2,
DC, DCv2
Balanced CPU-to-memory ratio. Ideal for testing and development, small to
medium databases, and low to medium traffic web servers.
Memory
optimized
Esv3, Ev3, Easv4,
Eav4, Mv2, M, DSv2,
Dv2
High memory-to-CPU ratio. Great for relational database servers, medium to large
caches, and in-memory analytics.
• ACU value
• CPU to RAM ratio
• At least 4 cores
• Premium Storage
• Disk and network throughput
What you’re looking for:
Choosing the right VM
Family Series Optimized for
General purpose B, Dsv3, Dv3, Dasv4,
Dav4, DSv2, Dv2, Av2,
DC, DCv2
Balanced CPU-to-memory ratio. Ideal for testing and development, small to
medium databases, and low to medium traffic web servers.
Memory
optimized
Esv3, Ev3, Easv4,
Eav4, Mv2, M, DSv2,
Dv2
High memory-to-CPU ratio. Great for relational database servers, medium to large
caches, and in-memory analytics.
What you’re looking for:
• ACU value
• CPU to RAM ratio
• At least 4 cores
• Premium Storage
• Disk and network throughput
Choosing the right VM
Family Series Optimized for
General purpose B, Dsv3, Dv3, Dasv4,
Dav4, DSv2, Dv2, Av2,
DC, DCv2
Balanced CPU-to-memory ratio. Ideal for testing and development, small to
medium databases, and low to medium traffic web servers.
Memory
optimized
Esv3, Ev3, Easv4,
Eav4, Mv2, M, DSv2,
Dv2
High memory-to-CPU ratio. Great for relational database servers, medium to large
caches, and in-memory analytics.
• ACU value
• CPU to RAM ratio
• At least 4 cores
• Premium Storage
• Disk and network throughput
What you’re looking for:
NEW
NEW
Choosing the right VM
VM
Host Azure Storage
Blobcache
RAM cache
Server SSD cacheTemp Disk OS Disk Data Disk Data Disk
Cached throughput Uncached throughput
Choosing the right VM
VM
Host Azure Storage
Blobcache
RAM cache
Server SSD cacheTemp Disk OS Disk Data Disk Data Disk
Cached throughput Uncached throughput
The size of the VM also affects:
• Disk throughput
• Cache and Temporary disk size & throughput
• Network bandwidth
• Accelerated Network availability
DS12v2 – 4 core 28 GB
Cached tp. 16000/128 (144)
Uncached tp. 12800/192
NIC/Mbps 4/3000
DS13v2 – 8 core 56 GB
Cached tp. 32000/256 (288)
Uncached tp. 25600/384
NIC/Mbps 8/6000
Easv4 – 8 core 64 GB
Cached tp. 16000/128 (200)
Uncached tp. 12800/192
NIC/Mbps 4/4000
Choosing the right VM
VM
Host Azure Storage
Blobcache
RAM cache
Server SSD cacheTemp Disk OS Disk Data Disk Data Disk
Cached throughput Uncached throughput
The size of the VM also affects:
• Disk throughput
• Cache and Temporary disk size & throughput
• Network bandwidth
• Accelerated Network availability
DS12v2 – 4 core 28 GB
Cached tp. 16000/128 (144)
Uncached tp. 12800/192
NIC/Mbps 4/3000
DS13v2 – 8 core 56 GB
Cached tp. 32000/256 (288)
Uncached tp. 25600/384
NIC/Mbps 8/6000
Easv4 – 8 core 64 GB
Cached tp. 16000/128 (200)
Uncached tp. 12800/192
NIC/Mbps 4/4000
Choosing the right VM
VM
Host Azure Storage
Blobcache
RAM cache
Server SSD cacheTemp Disk OS Disk Data Disk Data Disk
Cached throughput Uncached throughput
The size of the VM also affects:
• Disk throughput
• Cache and Temporary disk size & throughput
• Network bandwidth
• Accelerated Network availability
DS12v2 – 4 core 28 GB
Cached tp. 16000/128 (144)
Uncached tp. 12800/192
NIC/Mbps 4/3000
DS13v2 – 8 core 56 GB
Cached tp. 32000/256 (288)
Uncached tp. 25600/384
NIC/Mbps 8/6000
Easv4 – 8 core 64 GB
Cached tp. 16000/128 (200)
Uncached tp. 12800/192
NIC/Mbps 4/4000
Choosing the right VM
VM
Host Azure Storage
Blobcache
RAM cache
Server SSD cacheTemp Disk OS Disk Data Disk Data Disk
Cached throughput Uncached throughput
The size of the VM also affects:
• Disk throughput
• Cache and Temporary disk size & throughput
• Network bandwidth
• Accelerated Network availability
DS12v2 – 4 core 28 GB
Cached tp. 16000/128 (144)
Uncached tp. 12800/192
NIC/Mbps 4/3000
DS13v2 – 8 core 56 GB
Cached tp. 32000/256 (288)
Uncached tp. 25600/384
NIC/Mbps 8/6000
Easv4 – 8 core 64 GB
Cached tp. 16000/128 (200)
Uncached tp. 12800/192
NIC/Mbps 4/4000
Choosing the right VM
VM
Host Azure Storage
Blobcache
RAM cache
Server SSD cacheTemp Disk OS Disk Data Disk Data Disk
Cached throughput Uncached throughput
The size of the VM also affects:
• Disk throughput
• Cache and Temporary disk size & throughput
• Network bandwidth
• Accelerated Network availability
DS13-2v2 – 2 core 56 GB
Cached tp. 32000/256 (288)
Uncached tp. 25600/384
NIC/Mbps 8/6000
DS13-4v2 – 4 core 56 GB
Cached tp. 32000/256 (288)
Uncached tp. 25600/384
NIC/Mbps 8/6000
DS13v2 – 8 core 56 GB
Cached tp. 32000/256 (288)
Uncached tp. 25600/384
NIC/Mbps 8/6000
Need more of these, but have to contain
licensing costs???
Go for Constrained vCPU!
Choosing the right disks
 Separate disks for data and logs
 Pay Attention to cache settings!
 Use Temporary disk for TempDB
 Use striping to achieve more
• Columns = # of disks
• Interleave = 64KB for OLTP, 256KB for DWH
 Format with allocation unit size = 64 KB
Ultra SSD Premium SSD Standard SSD Standard HDD
Disk type SSD SSD SSD HDD
Scenario
IO-intensive workloads
such as SAP HANA, top tier
databases, and other
transaction-heavy
workloads.
Production and
performance sensitive
workloads
Web servers, lightly used
enterprise applications and
dev/test
Backup, non-critical,
infrequent access
Disk size 65,536 gibibyte (GiB) 32,767 GiB 32,767 GiB 32,767 GiB
Max throughput 2,000 MiB/s 900 MiB/s 750 MiB/s 500 MiB/s
Max IOPS 160,000 20,000 6,000 2,000
Latency 1 ms 5-10 ms Variable Variable
NEW
Consider disk bursting for Premium SSD up to 512 GB NEW
Apply the right configurations
• Enable database page compression.
• Enable instant file initialization for data files.
• Limit autogrowth of the database.
• Disable autoshrink of the database.
• Move all databases to data disks, including system databases.
• Move SQL Server error log and trace file directories to data disks.
• Configure default backup and database file locations.
• Enable locked pages in memory.
• Apply SQL Server performance fixes.
Apply the right configurations
• Back up directly to blob storage
• Use file snapshot backups for databases larger than 12 TB
• Use multiple Temp DB files, 1 file per core, up to 8 files
• Set max server memory at 90% or up to 50 GB left for the Operating System.
• Enable soft NUMA
NEW
NEW
NEW
Keep it easy
Key benefits of Resource Provider (RP) on self-installations
Azure VMs are now discoverable
on the new Azure SQL blade
in Azure Marketplace
Easily manage your SQL VM
and SQL PaaS deployments from
one central location
Self-installed VMs registered with
RP now can access automation
features in
Azure Marketplace images
Leverage auto-backup and auto-
patching to avoid
time-consuming admin
and VM customization
Self-installed VMs with RP
can be easily converted
to PAYG images
Save money by converting variable
workloads with Software Assurance
to PAYG images
Self-installed VMs with RP
automatically indicate usage
of Azure Hybrid Benefit
Ensure compliance with
Azure terms and conditions without
any extra effort
Dashboard view for
VM awareness
Comprehensive
feature set
Simple license
conversions
Straightforward
compliance
Learn more aka.ms/sqlvm_rp and aka.ms/sqlvm_rp_documentation
NEW
DEMO
SQL Server 2019 licensing rights
SQL 2017 (SA)
SQL 2019 (SA) NEW
Keep it simple
How to take advantage of Resource Provider
Full version
Get full access to auto-patching, Always On, auto-backup and
other features.
Note: Requires full SQL Server restart.
Speed your provision of Resource Provider with a lightweight
process which does not require restarting your VMs.
Note: Does not enable full functionality.
*If you’re unable to select Full or Lightweight RP, choose an Agentless approach. Note this option does not enable verification of Resource Provider.
Learn more aka.ms/sqlvm_rp and aka.ms/sqlvm_rp_documentation
Ways to get Resource Provider*
Recommended approach
1. Register the resource provider to your subscription (one-time only) via the Azure Portal or Azure CLI below:
# Register the new SQL resource provider to your subscription
az provider register --namespace Microsoft.SqlVirtualMachine
2. Once subscription registration is complete, register your VM with the SQL VM Resource Provider:
# Register your existing SQL Server VM with the new resource provider
az sql vm create -n <VMName> -g <ResourceGroupName> -l <VMLocation>
NEW
HA and networking
VMs and SLA
STANDARD PREMIUM
Proximity placement groups
 Reduce latency to μs
 Possible allocation issues
NEW
Native HA technologies
• Always On Availability Groups
SQL2012+ Enterprise Edition
• SQL Failover Cluster Instance with S2D
Windows Server 2016, SQL 2016+ Standard Edition
DATABASE REPLICATION
LISTENER
S2D
STORAGE REPLICATION
SQL CLUSTER IP
WindowsServer2019recommended!
Native HA technologies
• Always On Availability Groups
SQL2012+ Enterprise Edition
• SQL Failover Cluster Instance with S2D
Windows Server 2016, SQL 2016+ Standard Edition
• SQL Failover Cluster Instance with PFS
Windows Server 2012 R2+, SQL 2012+ Standard
DATABASE REPLICATION
LISTENER
S2D
STORAGE REPLICATION
SQL CLUSTER IP
SQL CLUSTER IP
PREMIUM FILE SHARE
NEW
While waiting for shared disks...
WindowsServer2019recommended!
Azure Premium File Share
PREMIUM RANGE CALCULATED AS
Provisioned share size (GiB) 100 - 102,400 (in increments of 1 GiB) Specified by share quota
Baseline IOPS 100 - 100,000 1 * provisioned GiB
Burst IOPS (on a best effort basis) 300 - 100,000 3 * Baseline IOPS
Egress rate (MiB/s) 66 - 6,204 60 MiB/s + 0.06 * provisioned GiB
Ingress rate (MiB/s) 44 - 4,136 40 MiB/s + 0.04 * provisioned GiB
Price West Europe, as of 23/04/2020 0,243€ GB
Example for a 2TB share: Baseline IOPS 2048
Burst IOPS 6144
Egress 182,88 MB/s
Ingress 121,92 MB/s
Price 497 €/month
DEMO
Resources
• Demo repository
https://github.com/OmegaMadLab/SqlIaasVmPlayground
• Optimized ARM Template
https://github.com/OmegaMadLab/OptimizedSqlVm-v2
• Official documentation
http://aka.ms/SQLIaaSPerf
• DbaTools module
https://dbatools.io
Thanks
Questions?
https://github.com/OmegaMadLab
@OmegaMadLab
marco.obinu@omegamadlab.com
http://www.omegamadlab.com
https://github.com/OmegaMadLab
https://www.linkedin.com/in/marco-obinu-omegamadlab/
https://www.youtube.com/channel/UCpkBeQSscC1iBvpNP4VNTKQ

More Related Content

What's hot

Performance Whack-a-Mole Tutorial (pgCon 2009)
Performance Whack-a-Mole Tutorial (pgCon 2009) Performance Whack-a-Mole Tutorial (pgCon 2009)
Performance Whack-a-Mole Tutorial (pgCon 2009)
PostgreSQL Experts, Inc.
 
Improving Hadoop Cluster Performance via Linux Configuration
Improving Hadoop Cluster Performance via Linux ConfigurationImproving Hadoop Cluster Performance via Linux Configuration
Improving Hadoop Cluster Performance via Linux Configuration
DataWorks Summit
 

What's hot (20)

MyRocks introduction and production deployment
MyRocks introduction and production deploymentMyRocks introduction and production deployment
MyRocks introduction and production deployment
 
Tuning Linux Windows and Firebird for Heavy Workload
Tuning Linux Windows and Firebird for Heavy WorkloadTuning Linux Windows and Firebird for Heavy Workload
Tuning Linux Windows and Firebird for Heavy Workload
 
Right-Sizing your SQL Server Virtual Machine
Right-Sizing your SQL Server Virtual MachineRight-Sizing your SQL Server Virtual Machine
Right-Sizing your SQL Server Virtual Machine
 
Hadoop Operations at LinkedIn
Hadoop Operations at LinkedInHadoop Operations at LinkedIn
Hadoop Operations at LinkedIn
 
Dumb Simple PostgreSQL Performance (NYCPUG)
Dumb Simple PostgreSQL Performance (NYCPUG)Dumb Simple PostgreSQL Performance (NYCPUG)
Dumb Simple PostgreSQL Performance (NYCPUG)
 
HBase: Extreme Makeover
HBase: Extreme MakeoverHBase: Extreme Makeover
HBase: Extreme Makeover
 
SSD Deployment Strategies for MySQL
SSD Deployment Strategies for MySQLSSD Deployment Strategies for MySQL
SSD Deployment Strategies for MySQL
 
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...
PostgreSQL Portland Performance Practice Project - Database Test 2 Filesystem...
 
Cassandra Summit 2014: Lesser Known Features of Cassandra 2.1
Cassandra Summit 2014: Lesser Known Features of Cassandra 2.1Cassandra Summit 2014: Lesser Known Features of Cassandra 2.1
Cassandra Summit 2014: Lesser Known Features of Cassandra 2.1
 
Deploying ssd in the data center 2014
Deploying ssd in the data center 2014Deploying ssd in the data center 2014
Deploying ssd in the data center 2014
 
Performance Whack-a-Mole Tutorial (pgCon 2009)
Performance Whack-a-Mole Tutorial (pgCon 2009) Performance Whack-a-Mole Tutorial (pgCon 2009)
Performance Whack-a-Mole Tutorial (pgCon 2009)
 
HBase Operations and Best Practices
HBase Operations and Best PracticesHBase Operations and Best Practices
HBase Operations and Best Practices
 
Improving Hadoop Cluster Performance via Linux Configuration
Improving Hadoop Cluster Performance via Linux ConfigurationImproving Hadoop Cluster Performance via Linux Configuration
Improving Hadoop Cluster Performance via Linux Configuration
 
High Performance Hardware for Data Analysis
High Performance Hardware for Data AnalysisHigh Performance Hardware for Data Analysis
High Performance Hardware for Data Analysis
 
High Performance Hardware for Data Analysis
High Performance Hardware for Data AnalysisHigh Performance Hardware for Data Analysis
High Performance Hardware for Data Analysis
 
Scaling Up and Out your Virtualized SQL Servers
Scaling Up and Out your Virtualized SQL ServersScaling Up and Out your Virtualized SQL Servers
Scaling Up and Out your Virtualized SQL Servers
 
Redis memcached pdf
Redis memcached pdfRedis memcached pdf
Redis memcached pdf
 
Cassandra Day SV 2014: Designing Commodity Storage in Apache Cassandra
Cassandra Day SV 2014: Designing Commodity Storage in Apache CassandraCassandra Day SV 2014: Designing Commodity Storage in Apache Cassandra
Cassandra Day SV 2014: Designing Commodity Storage in Apache Cassandra
 
Managing Cassandra at Scale by Al Tobey
Managing Cassandra at Scale by Al TobeyManaging Cassandra at Scale by Al Tobey
Managing Cassandra at Scale by Al Tobey
 
Postgres in Amazon RDS
Postgres in Amazon RDSPostgres in Amazon RDS
Postgres in Amazon RDS
 

Similar to Global Azure Virtual 2020 What's new on Azure IaaS for SQL VMs

Red Hat Storage Day Dallas - Red Hat Ceph Storage Acceleration Utilizing Flas...
Red Hat Storage Day Dallas - Red Hat Ceph Storage Acceleration Utilizing Flas...Red Hat Storage Day Dallas - Red Hat Ceph Storage Acceleration Utilizing Flas...
Red Hat Storage Day Dallas - Red Hat Ceph Storage Acceleration Utilizing Flas...
Red_Hat_Storage
 

Similar to Global Azure Virtual 2020 What's new on Azure IaaS for SQL VMs (20)

Red Hat Storage Day Dallas - Red Hat Ceph Storage Acceleration Utilizing Flas...
Red Hat Storage Day Dallas - Red Hat Ceph Storage Acceleration Utilizing Flas...Red Hat Storage Day Dallas - Red Hat Ceph Storage Acceleration Utilizing Flas...
Red Hat Storage Day Dallas - Red Hat Ceph Storage Acceleration Utilizing Flas...
 
Red Hat Ceph Storage Acceleration Utilizing Flash Technology
Red Hat Ceph Storage Acceleration Utilizing Flash Technology Red Hat Ceph Storage Acceleration Utilizing Flash Technology
Red Hat Ceph Storage Acceleration Utilizing Flash Technology
 
Sql Start! 2020 - SQL Server Lift & Shift su Azure
Sql Start! 2020 - SQL Server Lift & Shift su AzureSql Start! 2020 - SQL Server Lift & Shift su Azure
Sql Start! 2020 - SQL Server Lift & Shift su Azure
 
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash Technology
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash TechnologyCeph Day San Jose - Red Hat Storage Acceleration Utlizing Flash Technology
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash Technology
 
Backup management with Ceph Storage - Camilo Echevarne, Félix Barbeira
Backup management with Ceph Storage - Camilo Echevarne, Félix BarbeiraBackup management with Ceph Storage - Camilo Echevarne, Félix Barbeira
Backup management with Ceph Storage - Camilo Echevarne, Félix Barbeira
 
Mike Pittaro - High Performance Hardware for Data Analysis
Mike Pittaro - High Performance Hardware for Data Analysis Mike Pittaro - High Performance Hardware for Data Analysis
Mike Pittaro - High Performance Hardware for Data Analysis
 
How Ceph performs on ARM Microserver Cluster
How Ceph performs on ARM Microserver ClusterHow Ceph performs on ARM Microserver Cluster
How Ceph performs on ARM Microserver Cluster
 
Accelerating hbase with nvme and bucket cache
Accelerating hbase with nvme and bucket cacheAccelerating hbase with nvme and bucket cache
Accelerating hbase with nvme and bucket cache
 
Building a High Performance Analytics Platform
Building a High Performance Analytics PlatformBuilding a High Performance Analytics Platform
Building a High Performance Analytics Platform
 
V mware virtual san 5.5 deep dive
V mware virtual san 5.5 deep diveV mware virtual san 5.5 deep dive
V mware virtual san 5.5 deep dive
 
Ceph Day Beijing - Ceph all-flash array design based on NUMA architecture
Ceph Day Beijing - Ceph all-flash array design based on NUMA architectureCeph Day Beijing - Ceph all-flash array design based on NUMA architecture
Ceph Day Beijing - Ceph all-flash array design based on NUMA architecture
 
Ceph Day Beijing - Ceph All-Flash Array Design Based on NUMA Architecture
Ceph Day Beijing - Ceph All-Flash Array Design Based on NUMA ArchitectureCeph Day Beijing - Ceph All-Flash Array Design Based on NUMA Architecture
Ceph Day Beijing - Ceph All-Flash Array Design Based on NUMA Architecture
 
Databases love nutanix
Databases love nutanixDatabases love nutanix
Databases love nutanix
 
How does Apache Pegasus (incubating) community develop at SensorsData
How does Apache Pegasus (incubating) community develop at SensorsDataHow does Apache Pegasus (incubating) community develop at SensorsData
How does Apache Pegasus (incubating) community develop at SensorsData
 
Implementation of Dense Storage Utilizing HDDs with SSDs and PCIe Flash Acc...
Implementation of Dense Storage Utilizing  HDDs with SSDs and PCIe Flash  Acc...Implementation of Dense Storage Utilizing  HDDs with SSDs and PCIe Flash  Acc...
Implementation of Dense Storage Utilizing HDDs with SSDs and PCIe Flash Acc...
 
Azure Databases with IaaS
Azure Databases with IaaSAzure Databases with IaaS
Azure Databases with IaaS
 
Network support for resource disaggregation in next-generation datacenters
Network support for resource disaggregation in next-generation datacentersNetwork support for resource disaggregation in next-generation datacenters
Network support for resource disaggregation in next-generation datacenters
 
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
 
Help, I need to migrate my On Premise Database to Azure, which Database Tier ...
Help, I need to migrate my On Premise Database to Azure, which Database Tier ...Help, I need to migrate my On Premise Database to Azure, which Database Tier ...
Help, I need to migrate my On Premise Database to Azure, which Database Tier ...
 
Storage Spaces Direct - the new Microsoft SDS star - Carsten Rachfahl
Storage Spaces Direct - the new Microsoft SDS star - Carsten RachfahlStorage Spaces Direct - the new Microsoft SDS star - Carsten Rachfahl
Storage Spaces Direct - the new Microsoft SDS star - Carsten Rachfahl
 

More from Marco Obinu

More from Marco Obinu (15)

Securing an Azure full-PaaS architecture - Data saturday #0001 Pordenone
Securing an Azure full-PaaS architecture - Data saturday #0001 PordenoneSecuring an Azure full-PaaS architecture - Data saturday #0001 Pordenone
Securing an Azure full-PaaS architecture - Data saturday #0001 Pordenone
 
Implement a disaster recovery solution for your on-prem SQL with Azure? Easy!
Implement a disaster recovery solution for your on-prem SQL with Azure? Easy!Implement a disaster recovery solution for your on-prem SQL with Azure? Easy!
Implement a disaster recovery solution for your on-prem SQL with Azure? Easy!
 
Infrastructure as Code on Azure - Show your Bicep! v0.2 - .NetConf 2020 by Do...
Infrastructure as Code on Azure - Show your Bicep! v0.2 - .NetConf 2020 by Do...Infrastructure as Code on Azure - Show your Bicep! v0.2 - .NetConf 2020 by Do...
Infrastructure as Code on Azure - Show your Bicep! v0.2 - .NetConf 2020 by Do...
 
Infrastructure as Code on Azure: Show your Bicep!
Infrastructure as Code on Azure: Show your Bicep!Infrastructure as Code on Azure: Show your Bicep!
Infrastructure as Code on Azure: Show your Bicep!
 
SQL Server Lift & Shift on Azure - SQL Saturday 921
SQL Server Lift & Shift on Azure - SQL Saturday 921SQL Server Lift & Shift on Azure - SQL Saturday 921
SQL Server Lift & Shift on Azure - SQL Saturday 921
 
SQL Server Disaster Recovery on Azure - SQL Saturday 921
SQL Server Disaster Recovery on Azure - SQL Saturday 921SQL Server Disaster Recovery on Azure - SQL Saturday 921
SQL Server Disaster Recovery on Azure - SQL Saturday 921
 
Azure Day Reloaded 2019 - React to infrastructure events with Azure Monitor
Azure Day Reloaded 2019 - React to infrastructure events with Azure MonitorAzure Day Reloaded 2019 - React to infrastructure events with Azure Monitor
Azure Day Reloaded 2019 - React to infrastructure events with Azure Monitor
 
Azure Day Reloaded 2019 - ARM Template workshop
Azure Day Reloaded 2019 - ARM Template workshopAzure Day Reloaded 2019 - ARM Template workshop
Azure Day Reloaded 2019 - ARM Template workshop
 
Sql Saturday 895 - SQL Server e PowerShell: from Zero to Hero
Sql Saturday 895 - SQL Server e PowerShell: from Zero to HeroSql Saturday 895 - SQL Server e PowerShell: from Zero to Hero
Sql Saturday 895 - SQL Server e PowerShell: from Zero to Hero
 
Automazione serverless con Azure Functions e PowerShell - Marco Obinu - DevOp...
Automazione serverless con Azure Functions e PowerShell - Marco Obinu - DevOp...Automazione serverless con Azure Functions e PowerShell - Marco Obinu - DevOp...
Automazione serverless con Azure Functions e PowerShell - Marco Obinu - DevOp...
 
Azure Saturday Pordenone 2019 - Reagire agli eventi di infrastruttura con Azu...
Azure Saturday Pordenone 2019 - Reagire agli eventi di infrastruttura con Azu...Azure Saturday Pordenone 2019 - Reagire agli eventi di infrastruttura con Azu...
Azure Saturday Pordenone 2019 - Reagire agli eventi di infrastruttura con Azu...
 
SQL Saturday 871 - Sardegna 2019 - SQL Server DR on Azure
SQL Saturday 871 - Sardegna 2019 - SQL Server DR on AzureSQL Saturday 871 - Sardegna 2019 - SQL Server DR on Azure
SQL Saturday 871 - Sardegna 2019 - SQL Server DR on Azure
 
SQL Start! 2019 - Ancona - Distribuisci ed amministra le tue istanze SQL Serv...
SQL Start! 2019 - Ancona - Distribuisci ed amministra le tue istanze SQL Serv...SQL Start! 2019 - Ancona - Distribuisci ed amministra le tue istanze SQL Serv...
SQL Start! 2019 - Ancona - Distribuisci ed amministra le tue istanze SQL Serv...
 
Global Azure BootCamp 2019 - Verona - Ottimizzazione delle VM SQL Server su A...
Global Azure BootCamp 2019 - Verona - Ottimizzazione delle VM SQL Server su A...Global Azure BootCamp 2019 - Verona - Ottimizzazione delle VM SQL Server su A...
Global Azure BootCamp 2019 - Verona - Ottimizzazione delle VM SQL Server su A...
 
Global Azure BootCamp 2019 - Verona - Azure Cloud Shell
Global Azure BootCamp 2019 - Verona - Azure Cloud ShellGlobal Azure BootCamp 2019 - Verona - Azure Cloud Shell
Global Azure BootCamp 2019 - Verona - Azure Cloud Shell
 

Recently uploaded

Recently uploaded (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Global Azure Virtual 2020 What's new on Azure IaaS for SQL VMs

  • 1. 2 TOPIC What’s new on Azure IaaS for SQL VMs Marco Obinu @OmegaMadLab
  • 2. Agenda • What’s new on Azure IaaS for SQL VMs • IaaS??? Is it still worth? • Performance guidelines • HA and networking
  • 3. Who I am @OmegaMadLab https://github.com/OmegaMadLab Marco Obinu @OmegaMadLab marco.obinu@omegamadlab.com http://www.omegamadlab.com https://github.com/OmegaMadLab https://www.linkedin.com/in/marco-obinu-omegamadlab/ https://www.youtube.com/channel/UCpkBeQSscC1iBvpNP4VNTKQ • Geek to the bone  • Advisory Engineer @ SoftJam S.p.A. • Azure Solution Architect Expert
  • 4. IaaS??? Is it still worth?
  • 5. SQL Server on Azure: proposition I want Azure! SQL VM Single DB / Pool / Hyperscale More control? Less TCO? Managed Instance On-prem L&S? New project? MANAGEDBYVENDOR APPLICATION HYPERVISOR OS RUNTIME DATA STORAGE NETWORK IaaS YOUMANAGE SERVERS MANAGEDBYVENDOR APPLICATION HYPERVISOR OS RUNTIME DATA STORAGE NETWORK PaaS YOUMANAGE SERVERS
  • 6. Azure SQL Database Everything built-in! Business continuity High availability Automated backups Long term backup retention Geo-replication Scale Advanced security Automatic tuning Built-in monitoring Built-in intelligence
  • 7. Azure SQL Database Everything built-in! Business continuity High availability Automated backups Long term backup retention Geo-replication Scale Advanced security Automatic tuning Built-in monitoring Built-in intelligence configurable VMs
  • 8. SQL Server on Azure VMs https://azure.microsoft.com/mediahandler/files/resourcefiles/sql-transactional-processing-price-performance-testing/GigaOm%20Azure%20SQL%20DB- AWS%20RDS%20Price-Performance%20Benchmark%20Report.pdf
  • 9. SQL Server on Azure VMs
  • 10. SQL Server on Azure VMs • Workload isolation • Legacy products/functionalities not supported by PaaS or time constraints • Dev/Test environment • Hybrid datacenters – DR scenarios
  • 12. Choosing the right VM Family Series Optimized for General purpose B, Dsv3, Dv3, Dasv4, Dav4, DSv2, Dv2, Av2, DC, DCv2 Balanced CPU-to-memory ratio. Ideal for testing and development, small to medium databases, and low to medium traffic web servers. Compute optimized Fsv2 High CPU-to-memory ratio. Good for medium traffic web servers, network appliances, batch processes, and application servers. Memory optimized Esv3, Ev3, Easv4, Eav4, Mv2, M, DSv2, Dv2 High memory-to-CPU ratio. Great for relational database servers, medium to large caches, and in-memory analytics. Storage optimized Lsv2 High disk throughput and IO ideal for Big Data, SQL, NoSQL databases, data warehousing and large transactional databases. GPU NC, NCv2, NCv3, ND, NDv2 (Preview), NV, NVv3, NVv4 Specialized virtual machines targeted for heavy graphic rendering and video editing, as well as model training and inferencing (ND) with deep learning. Available with single or multiple GPUs. High performance compute HB, HBv2, HC, H Our fastest and most powerful CPU virtual machines with optional high-throughput network interfaces (RDMA).
  • 13. Choosing the right VM Family Series Optimized for General purpose B, Dsv3, Dv3, Dasv4, Dav4, DSv2, Dv2, Av2, DC, DCv2 Balanced CPU-to-memory ratio. Ideal for testing and development, small to medium databases, and low to medium traffic web servers. Compute optimized Fsv2 High CPU-to-memory ratio. Good for medium traffic web servers, network appliances, batch processes, and application servers. Memory optimized Esv3, Ev3, Easv4, Eav4, Mv2, M, DSv2, Dv2 High memory-to-CPU ratio. Great for relational database servers, medium to large caches, and in-memory analytics. Storage optimized Lsv2 High disk throughput and IO ideal for Big Data, SQL, NoSQL databases, data warehousing and large transactional databases. GPU NC, NCv2, NCv3, ND, NDv2 (Preview), NV, NVv3, NVv4 Specialized virtual machines targeted for heavy graphic rendering and video editing, as well as model training and inferencing (ND) with deep learning. Available with single or multiple GPUs. High performance compute HB, HBv2, HC, H Our fastest and most powerful CPU virtual machines with optional high-throughput network interfaces (RDMA).
  • 14. Choosing the right VM Family Series Optimized for General purpose B, Dsv3, Dv3, Dasv4, Dav4, DSv2, Dv2, Av2, DC, DCv2 Balanced CPU-to-memory ratio. Ideal for testing and development, small to medium databases, and low to medium traffic web servers. Memory optimized Esv3, Ev3, Easv4, Eav4, Mv2, M, DSv2, Dv2 High memory-to-CPU ratio. Great for relational database servers, medium to large caches, and in-memory analytics.
  • 15. Choosing the right VM Family Series Optimized for General purpose B, Dsv3, Dv3, Dasv4, Dav4, DSv2, Dv2, Av2, DC, DCv2 Balanced CPU-to-memory ratio. Ideal for testing and development, small to medium databases, and low to medium traffic web servers. Memory optimized Esv3, Ev3, Easv4, Eav4, Mv2, M, DSv2, Dv2 High memory-to-CPU ratio. Great for relational database servers, medium to large caches, and in-memory analytics. • ACU value • CPU to RAM ratio • At least 4 cores • Premium Storage • Disk and network throughput What you’re looking for:
  • 16. Choosing the right VM Family Series Optimized for General purpose B, Dsv3, Dv3, Dasv4, Dav4, DSv2, Dv2, Av2, DC, DCv2 Balanced CPU-to-memory ratio. Ideal for testing and development, small to medium databases, and low to medium traffic web servers. Memory optimized Esv3, Ev3, Easv4, Eav4, Mv2, M, DSv2, Dv2 High memory-to-CPU ratio. Great for relational database servers, medium to large caches, and in-memory analytics. What you’re looking for: • ACU value • CPU to RAM ratio • At least 4 cores • Premium Storage • Disk and network throughput
  • 17. Choosing the right VM Family Series Optimized for General purpose B, Dsv3, Dv3, Dasv4, Dav4, DSv2, Dv2, Av2, DC, DCv2 Balanced CPU-to-memory ratio. Ideal for testing and development, small to medium databases, and low to medium traffic web servers. Memory optimized Esv3, Ev3, Easv4, Eav4, Mv2, M, DSv2, Dv2 High memory-to-CPU ratio. Great for relational database servers, medium to large caches, and in-memory analytics. • ACU value • CPU to RAM ratio • At least 4 cores • Premium Storage • Disk and network throughput What you’re looking for: NEW NEW
  • 18. Choosing the right VM VM Host Azure Storage Blobcache RAM cache Server SSD cacheTemp Disk OS Disk Data Disk Data Disk Cached throughput Uncached throughput
  • 19. Choosing the right VM VM Host Azure Storage Blobcache RAM cache Server SSD cacheTemp Disk OS Disk Data Disk Data Disk Cached throughput Uncached throughput The size of the VM also affects: • Disk throughput • Cache and Temporary disk size & throughput • Network bandwidth • Accelerated Network availability DS12v2 – 4 core 28 GB Cached tp. 16000/128 (144) Uncached tp. 12800/192 NIC/Mbps 4/3000 DS13v2 – 8 core 56 GB Cached tp. 32000/256 (288) Uncached tp. 25600/384 NIC/Mbps 8/6000 Easv4 – 8 core 64 GB Cached tp. 16000/128 (200) Uncached tp. 12800/192 NIC/Mbps 4/4000
  • 20. Choosing the right VM VM Host Azure Storage Blobcache RAM cache Server SSD cacheTemp Disk OS Disk Data Disk Data Disk Cached throughput Uncached throughput The size of the VM also affects: • Disk throughput • Cache and Temporary disk size & throughput • Network bandwidth • Accelerated Network availability DS12v2 – 4 core 28 GB Cached tp. 16000/128 (144) Uncached tp. 12800/192 NIC/Mbps 4/3000 DS13v2 – 8 core 56 GB Cached tp. 32000/256 (288) Uncached tp. 25600/384 NIC/Mbps 8/6000 Easv4 – 8 core 64 GB Cached tp. 16000/128 (200) Uncached tp. 12800/192 NIC/Mbps 4/4000
  • 21. Choosing the right VM VM Host Azure Storage Blobcache RAM cache Server SSD cacheTemp Disk OS Disk Data Disk Data Disk Cached throughput Uncached throughput The size of the VM also affects: • Disk throughput • Cache and Temporary disk size & throughput • Network bandwidth • Accelerated Network availability DS12v2 – 4 core 28 GB Cached tp. 16000/128 (144) Uncached tp. 12800/192 NIC/Mbps 4/3000 DS13v2 – 8 core 56 GB Cached tp. 32000/256 (288) Uncached tp. 25600/384 NIC/Mbps 8/6000 Easv4 – 8 core 64 GB Cached tp. 16000/128 (200) Uncached tp. 12800/192 NIC/Mbps 4/4000
  • 22. Choosing the right VM VM Host Azure Storage Blobcache RAM cache Server SSD cacheTemp Disk OS Disk Data Disk Data Disk Cached throughput Uncached throughput The size of the VM also affects: • Disk throughput • Cache and Temporary disk size & throughput • Network bandwidth • Accelerated Network availability DS12v2 – 4 core 28 GB Cached tp. 16000/128 (144) Uncached tp. 12800/192 NIC/Mbps 4/3000 DS13v2 – 8 core 56 GB Cached tp. 32000/256 (288) Uncached tp. 25600/384 NIC/Mbps 8/6000 Easv4 – 8 core 64 GB Cached tp. 16000/128 (200) Uncached tp. 12800/192 NIC/Mbps 4/4000
  • 23. Choosing the right VM VM Host Azure Storage Blobcache RAM cache Server SSD cacheTemp Disk OS Disk Data Disk Data Disk Cached throughput Uncached throughput The size of the VM also affects: • Disk throughput • Cache and Temporary disk size & throughput • Network bandwidth • Accelerated Network availability DS13-2v2 – 2 core 56 GB Cached tp. 32000/256 (288) Uncached tp. 25600/384 NIC/Mbps 8/6000 DS13-4v2 – 4 core 56 GB Cached tp. 32000/256 (288) Uncached tp. 25600/384 NIC/Mbps 8/6000 DS13v2 – 8 core 56 GB Cached tp. 32000/256 (288) Uncached tp. 25600/384 NIC/Mbps 8/6000 Need more of these, but have to contain licensing costs??? Go for Constrained vCPU!
  • 24. Choosing the right disks  Separate disks for data and logs  Pay Attention to cache settings!  Use Temporary disk for TempDB  Use striping to achieve more • Columns = # of disks • Interleave = 64KB for OLTP, 256KB for DWH  Format with allocation unit size = 64 KB Ultra SSD Premium SSD Standard SSD Standard HDD Disk type SSD SSD SSD HDD Scenario IO-intensive workloads such as SAP HANA, top tier databases, and other transaction-heavy workloads. Production and performance sensitive workloads Web servers, lightly used enterprise applications and dev/test Backup, non-critical, infrequent access Disk size 65,536 gibibyte (GiB) 32,767 GiB 32,767 GiB 32,767 GiB Max throughput 2,000 MiB/s 900 MiB/s 750 MiB/s 500 MiB/s Max IOPS 160,000 20,000 6,000 2,000 Latency 1 ms 5-10 ms Variable Variable NEW Consider disk bursting for Premium SSD up to 512 GB NEW
  • 25. Apply the right configurations • Enable database page compression. • Enable instant file initialization for data files. • Limit autogrowth of the database. • Disable autoshrink of the database. • Move all databases to data disks, including system databases. • Move SQL Server error log and trace file directories to data disks. • Configure default backup and database file locations. • Enable locked pages in memory. • Apply SQL Server performance fixes.
  • 26. Apply the right configurations • Back up directly to blob storage • Use file snapshot backups for databases larger than 12 TB • Use multiple Temp DB files, 1 file per core, up to 8 files • Set max server memory at 90% or up to 50 GB left for the Operating System. • Enable soft NUMA NEW NEW NEW
  • 27. Keep it easy Key benefits of Resource Provider (RP) on self-installations Azure VMs are now discoverable on the new Azure SQL blade in Azure Marketplace Easily manage your SQL VM and SQL PaaS deployments from one central location Self-installed VMs registered with RP now can access automation features in Azure Marketplace images Leverage auto-backup and auto- patching to avoid time-consuming admin and VM customization Self-installed VMs with RP can be easily converted to PAYG images Save money by converting variable workloads with Software Assurance to PAYG images Self-installed VMs with RP automatically indicate usage of Azure Hybrid Benefit Ensure compliance with Azure terms and conditions without any extra effort Dashboard view for VM awareness Comprehensive feature set Simple license conversions Straightforward compliance Learn more aka.ms/sqlvm_rp and aka.ms/sqlvm_rp_documentation NEW
  • 28. DEMO
  • 29. SQL Server 2019 licensing rights SQL 2017 (SA) SQL 2019 (SA) NEW
  • 30. Keep it simple How to take advantage of Resource Provider Full version Get full access to auto-patching, Always On, auto-backup and other features. Note: Requires full SQL Server restart. Speed your provision of Resource Provider with a lightweight process which does not require restarting your VMs. Note: Does not enable full functionality. *If you’re unable to select Full or Lightweight RP, choose an Agentless approach. Note this option does not enable verification of Resource Provider. Learn more aka.ms/sqlvm_rp and aka.ms/sqlvm_rp_documentation Ways to get Resource Provider* Recommended approach 1. Register the resource provider to your subscription (one-time only) via the Azure Portal or Azure CLI below: # Register the new SQL resource provider to your subscription az provider register --namespace Microsoft.SqlVirtualMachine 2. Once subscription registration is complete, register your VM with the SQL VM Resource Provider: # Register your existing SQL Server VM with the new resource provider az sql vm create -n <VMName> -g <ResourceGroupName> -l <VMLocation> NEW
  • 33. Proximity placement groups  Reduce latency to μs  Possible allocation issues NEW
  • 34. Native HA technologies • Always On Availability Groups SQL2012+ Enterprise Edition • SQL Failover Cluster Instance with S2D Windows Server 2016, SQL 2016+ Standard Edition DATABASE REPLICATION LISTENER S2D STORAGE REPLICATION SQL CLUSTER IP WindowsServer2019recommended!
  • 35. Native HA technologies • Always On Availability Groups SQL2012+ Enterprise Edition • SQL Failover Cluster Instance with S2D Windows Server 2016, SQL 2016+ Standard Edition • SQL Failover Cluster Instance with PFS Windows Server 2012 R2+, SQL 2012+ Standard DATABASE REPLICATION LISTENER S2D STORAGE REPLICATION SQL CLUSTER IP SQL CLUSTER IP PREMIUM FILE SHARE NEW While waiting for shared disks... WindowsServer2019recommended!
  • 36. Azure Premium File Share PREMIUM RANGE CALCULATED AS Provisioned share size (GiB) 100 - 102,400 (in increments of 1 GiB) Specified by share quota Baseline IOPS 100 - 100,000 1 * provisioned GiB Burst IOPS (on a best effort basis) 300 - 100,000 3 * Baseline IOPS Egress rate (MiB/s) 66 - 6,204 60 MiB/s + 0.06 * provisioned GiB Ingress rate (MiB/s) 44 - 4,136 40 MiB/s + 0.04 * provisioned GiB Price West Europe, as of 23/04/2020 0,243€ GB Example for a 2TB share: Baseline IOPS 2048 Burst IOPS 6144 Egress 182,88 MB/s Ingress 121,92 MB/s Price 497 €/month
  • 37. DEMO
  • 38. Resources • Demo repository https://github.com/OmegaMadLab/SqlIaasVmPlayground • Optimized ARM Template https://github.com/OmegaMadLab/OptimizedSqlVm-v2 • Official documentation http://aka.ms/SQLIaaSPerf • DbaTools module https://dbatools.io