SlideShare uma empresa Scribd logo
1 de 25
Get the most out of yourWindows Azure VMs 
Or how SQL Server best practices 
apply in the cloud
About me 
2| 
@ikdonev 
/ivan.donev 
/in/ikdonev
Agenda 
3|
TIERSIZE
What do you get? 
Hyper-V VM with TIER and SIZE 
Multi-tenant configuration 
Windows Server and SQL Server installed 
3 disks 
OS 
Temporary 
Data disk
Tip #1 –VM Size 
Start from Standard A2 
2CPUs and 3,5GB Memory 
Basic Tier use different hardware 
For intensive workloads –A8 and A9 Standard 
Utilize the Standard D_XX VMs 
Non-persistent data 
BPE
Tip #2 –Storage account settings 
Keep it close to the VM 
Disable GEO replication
Tip #3 –Disks and Storage caching 
Disable caching on data disks 
Changing cache settings require VM restart 
Disktype 
ReadOnly 
ReadWrite 
None(disabled) 
Operatingsystemdisk 
Supported 
Defaultmode 
Notsupported 
Datadisk 
Supported 
Supported 
Defaultmode
Random I/O (8 KB Pages) 
Sequential I/O (64 KB Extents) 
Reads 
Writes 
Reads 
Writes 
8000 
8000 
2400 
4000 
60 MB/s 
60 MB/s 
150 MB/s 
250 MB/s 
Tip #4 –Multiple disks for I/O bandwidth 
Single disk performance 
Multiple disks 
Striping/Storage pools (WS2012) 
Random I/O (8 KB Pages) 
Sequential I/O (64 KB Extents) 
Reads 
Writes 
Reads 
Writes 
IOPS 
500 
500 
500 
300 
Bandwidth 
4 MB/s 
4 MB/s 
30 MB/s 
20 MB/s 
8/16 disks 
Random I/O (8 KB Pages) 
Sequential I/O (64 KB Extents) 
Reads 
Writes 
Reads 
Writes 
IOPS 
4000 
4000 
2400 
2400 
Bandwidth 
30 MB/s 
30 MB/s 
150 MB/s 
150 MB/s
Disk striping vs Storage Pools 
Dynamic volume on OS level 
No Protection 
Multiple volumes 
Storage Pools 
You can use RAID protection 
Multiple volumes on the same pool
Options for storage layout 
Single volume (striped or from Storage pool)
Options for storage layout -cntnd 
Multiple striped volumes
Tip #5 –Single vs. Multiple storage accounts 
Avoid mixing up 
Recovery is more difficult with mixed accounts 
Be careful with limits! 
500TB per account
Tip #6 –NTFS Allocation size 
Default = 4 KB 
Recommended = 64 KB 
Test with 256 KB cluster size
Tip #7 –Instant file initialization 
Part of the local security policy
Performance impact of IFI 
0 
10 
20 
30 
40 
50 
60 
Create 100 GB database 
Restore 100 GB database 
Time (minutes) 
Impact of Instant File Initialization 
Without Instant File Initialization 
With Instant File Initialization
Tip #8 –Data compression 
PAGE compression perform better 
Reduced I/O 
Improved OLTP Throughput
400000 
500000 
600000 
700000 
800000 
900000 
1000000 
100000 
150000 
200000 
250000 
NONE 
PAGE 
Reads 
Time (ms) 
Query Performance with Data Compression 
CPU Time 
Elapsed Time 
Logical Reads 
Physical Reads (+RA)
0 
10 
20 
30 
40 
50 
60 
70 
NONE 
PAGE 
CPU Time (%), Throughput (Business Transactions/sec) 
OLTP Throughput and CPU Usage with Data Compression 
Throughput 
CPU Time (%)
Tip #9 –Locked pages in memory
Tip #10 –Growing and shrinking 
Disable autoshrink 
Limit or disable autogrowth
What I did not mention 
Adaptive partitioning and load balancing 
Backups to Azure BLOB storage 
-NumberOfColumnsand –Interleave when adding disk to Storage Pools 
Preconfigured and optimized VMs 
DWH 
OLTP
Sponsors
Resources 
http://blogs.technet.com/b/yungchou/archive/ 2012/08/31/windows-server-2012-storage- virtualization-explained.aspx 
http://msdn.microsoft.com/en- us/library/azure/dn248436.aspx 
http://thomaslarock.com/2014/08/qa-azure- webinar-scott-klein/ 
http://sqlmag.com/sql-server/know-your-raid- levels

Mais conteúdo relacionado

Mais procurados

Build an affordable Cloud Stroage
Build an affordable Cloud StroageBuild an affordable Cloud Stroage
Build an affordable Cloud StroageAlex Lau
 
2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)infortrendgroup
 
Ceph Day San Jose - Object Storage for Big Data
Ceph Day San Jose - Object Storage for Big Data Ceph Day San Jose - Object Storage for Big Data
Ceph Day San Jose - Object Storage for Big Data Ceph Community
 
Stortrends 2401i 2u ip san nas storage appliance
Stortrends 2401i 2u ip san nas storage applianceStortrends 2401i 2u ip san nas storage appliance
Stortrends 2401i 2u ip san nas storage applianceAmerican Megatrends India
 
An IBM Storage Solution for Small and Mid-size Businesses -- The IBM Storwize...
An IBM Storage Solution for Small and Mid-size Businesses -- The IBM Storwize...An IBM Storage Solution for Small and Mid-size Businesses -- The IBM Storwize...
An IBM Storage Solution for Small and Mid-size Businesses -- The IBM Storwize...Tony Pearson
 
openSUSE storage workshop 2016
openSUSE storage workshop 2016openSUSE storage workshop 2016
openSUSE storage workshop 2016Alex Lau
 
robust-twelve-plus-midtower-storage-server
robust-twelve-plus-midtower-storage-serverrobust-twelve-plus-midtower-storage-server
robust-twelve-plus-midtower-storage-serverTecsun Yeep
 
Exploiting Your File System to Build Robust & Efficient Workflows
Exploiting Your File System to Build Robust & Efficient WorkflowsExploiting Your File System to Build Robust & Efficient Workflows
Exploiting Your File System to Build Robust & Efficient Workflowsjasonajohnson
 
Ceph Day KL - Ceph on All-Flash Storage
Ceph Day KL - Ceph on All-Flash Storage Ceph Day KL - Ceph on All-Flash Storage
Ceph Day KL - Ceph on All-Flash Storage Ceph Community
 
lenovo_storage_d3284_ds
lenovo_storage_d3284_dslenovo_storage_d3284_ds
lenovo_storage_d3284_dsJohn Marquis
 
Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...
Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...
Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...ravipbhat
 
No sql but even less security
No sql but even less securityNo sql but even less security
No sql but even less securityiammutex
 
Hard Disk Drive versus Solid State Drive
Hard Disk Drive versus Solid State DriveHard Disk Drive versus Solid State Drive
Hard Disk Drive versus Solid State DriveDac Khue Nguyen
 
Offloading for Databases - Deep Dive
Offloading for Databases - Deep DiveOffloading for Databases - Deep Dive
Offloading for Databases - Deep DiveUniFabric
 
Cache memory by emad
Cache memory by emadCache memory by emad
Cache memory by emadKazi Emad
 
了解Cpu
了解Cpu了解Cpu
了解CpuFeng Yu
 

Mais procurados (18)

Build an affordable Cloud Stroage
Build an affordable Cloud StroageBuild an affordable Cloud Stroage
Build an affordable Cloud Stroage
 
2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)
 
Ceph Day San Jose - Object Storage for Big Data
Ceph Day San Jose - Object Storage for Big Data Ceph Day San Jose - Object Storage for Big Data
Ceph Day San Jose - Object Storage for Big Data
 
Stortrends 2401i 2u ip san nas storage appliance
Stortrends 2401i 2u ip san nas storage applianceStortrends 2401i 2u ip san nas storage appliance
Stortrends 2401i 2u ip san nas storage appliance
 
An IBM Storage Solution for Small and Mid-size Businesses -- The IBM Storwize...
An IBM Storage Solution for Small and Mid-size Businesses -- The IBM Storwize...An IBM Storage Solution for Small and Mid-size Businesses -- The IBM Storwize...
An IBM Storage Solution for Small and Mid-size Businesses -- The IBM Storwize...
 
openSUSE storage workshop 2016
openSUSE storage workshop 2016openSUSE storage workshop 2016
openSUSE storage workshop 2016
 
robust-twelve-plus-midtower-storage-server
robust-twelve-plus-midtower-storage-serverrobust-twelve-plus-midtower-storage-server
robust-twelve-plus-midtower-storage-server
 
Ce202 Storage
Ce202 StorageCe202 Storage
Ce202 Storage
 
Exploiting Your File System to Build Robust & Efficient Workflows
Exploiting Your File System to Build Robust & Efficient WorkflowsExploiting Your File System to Build Robust & Efficient Workflows
Exploiting Your File System to Build Robust & Efficient Workflows
 
Ceph Day KL - Ceph on All-Flash Storage
Ceph Day KL - Ceph on All-Flash Storage Ceph Day KL - Ceph on All-Flash Storage
Ceph Day KL - Ceph on All-Flash Storage
 
lenovo_storage_d3284_ds
lenovo_storage_d3284_dslenovo_storage_d3284_ds
lenovo_storage_d3284_ds
 
Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...
Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...
Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...
 
Memory hierarchy (In Details)
Memory hierarchy (In Details)Memory hierarchy (In Details)
Memory hierarchy (In Details)
 
No sql but even less security
No sql but even less securityNo sql but even less security
No sql but even less security
 
Hard Disk Drive versus Solid State Drive
Hard Disk Drive versus Solid State DriveHard Disk Drive versus Solid State Drive
Hard Disk Drive versus Solid State Drive
 
Offloading for Databases - Deep Dive
Offloading for Databases - Deep DiveOffloading for Databases - Deep Dive
Offloading for Databases - Deep Dive
 
Cache memory by emad
Cache memory by emadCache memory by emad
Cache memory by emad
 
了解Cpu
了解Cpu了解Cpu
了解Cpu
 

Semelhante a Get the most out of your Windows Azure VMs

MySQL Oslayer performace optimization
MySQL  Oslayer performace optimizationMySQL  Oslayer performace optimization
MySQL Oslayer performace optimizationLouis liu
 
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
 
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 TechnologyCeph Community
 
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 ClusterAaron Joue
 
Dataswft Intel benchmark 2013
Dataswft Intel benchmark 2013Dataswft Intel benchmark 2013
Dataswft Intel benchmark 2013dhulis
 
Ceph Day Melbourne - Ceph on All-Flash Storage - Breaking Performance Barriers
Ceph Day Melbourne - Ceph on All-Flash Storage - Breaking Performance BarriersCeph Day Melbourne - Ceph on All-Flash Storage - Breaking Performance Barriers
Ceph Day Melbourne - Ceph on All-Flash Storage - Breaking Performance BarriersCeph Community
 
16aug06.ppt
16aug06.ppt16aug06.ppt
16aug06.pptzagreb2
 
Milestone Server And Storage Best Practice
Milestone   Server And Storage Best PracticeMilestone   Server And Storage Best Practice
Milestone Server And Storage Best Practicehypknight
 
Azure Disks Overview - Azure Disks Overview -Azure Disks Overview
Azure Disks Overview - Azure Disks Overview -Azure Disks OverviewAzure Disks Overview - Azure Disks Overview -Azure Disks Overview
Azure Disks Overview - Azure Disks Overview -Azure Disks Overviewssuser6d7b1f3
 
Oracle Exec Summary 7000 Unified Storage
Oracle Exec Summary 7000 Unified StorageOracle Exec Summary 7000 Unified Storage
Oracle Exec Summary 7000 Unified StorageDavid R. Klauser
 
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...Amazon Web Services
 
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 Red_Hat_Storage
 
S de2784 footprint-reduction-edge2015-v2
S de2784 footprint-reduction-edge2015-v2S de2784 footprint-reduction-edge2015-v2
S de2784 footprint-reduction-edge2015-v2Tony Pearson
 
958 and 959 sales exam prep
958 and 959 sales exam prep958 and 959 sales exam prep
958 and 959 sales exam prepJason Wong
 
Mega Launch Recap Slide Deck
Mega Launch Recap Slide DeckMega Launch Recap Slide Deck
Mega Launch Recap Slide DeckVarrow Inc.
 
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법Amazon Web Services Korea
 
JetStor 712U ZFS Based Storage
JetStor 712U ZFS Based StorageJetStor 712U ZFS Based Storage
JetStor 712U ZFS Based StorageGene Leyzarovich
 

Semelhante a Get the most out of your Windows Azure VMs (20)

MySQL Oslayer performace optimization
MySQL  Oslayer performace optimizationMySQL  Oslayer performace optimization
MySQL Oslayer performace optimization
 
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...
 
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
 
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
 
Dataswft Intel benchmark 2013
Dataswft Intel benchmark 2013Dataswft Intel benchmark 2013
Dataswft Intel benchmark 2013
 
Ceph Day Melbourne - Ceph on All-Flash Storage - Breaking Performance Barriers
Ceph Day Melbourne - Ceph on All-Flash Storage - Breaking Performance BarriersCeph Day Melbourne - Ceph on All-Flash Storage - Breaking Performance Barriers
Ceph Day Melbourne - Ceph on All-Flash Storage - Breaking Performance Barriers
 
16aug06.ppt
16aug06.ppt16aug06.ppt
16aug06.ppt
 
Milestone Server And Storage Best Practice
Milestone   Server And Storage Best PracticeMilestone   Server And Storage Best Practice
Milestone Server And Storage Best Practice
 
Azure Disks Overview - Azure Disks Overview -Azure Disks Overview
Azure Disks Overview - Azure Disks Overview -Azure Disks OverviewAzure Disks Overview - Azure Disks Overview -Azure Disks Overview
Azure Disks Overview - Azure Disks Overview -Azure Disks Overview
 
Oracle Exec Summary 7000 Unified Storage
Oracle Exec Summary 7000 Unified StorageOracle Exec Summary 7000 Unified Storage
Oracle Exec Summary 7000 Unified Storage
 
JetStor NAS series 2016
JetStor NAS series 2016JetStor NAS series 2016
JetStor NAS series 2016
 
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...
 
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
 
S de2784 footprint-reduction-edge2015-v2
S de2784 footprint-reduction-edge2015-v2S de2784 footprint-reduction-edge2015-v2
S de2784 footprint-reduction-edge2015-v2
 
958 and 959 sales exam prep
958 and 959 sales exam prep958 and 959 sales exam prep
958 and 959 sales exam prep
 
Disks.pptx
Disks.pptxDisks.pptx
Disks.pptx
 
Storage spaces direct webinar
Storage spaces direct webinarStorage spaces direct webinar
Storage spaces direct webinar
 
Mega Launch Recap Slide Deck
Mega Launch Recap Slide DeckMega Launch Recap Slide Deck
Mega Launch Recap Slide Deck
 
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법
 
JetStor 712U ZFS Based Storage
JetStor 712U ZFS Based StorageJetStor 712U ZFS Based Storage
JetStor 712U ZFS Based Storage
 

Mais de Ivan Donev

Discovery Day 2019 Sofia - Big data clusters
Discovery Day 2019 Sofia - Big data clustersDiscovery Day 2019 Sofia - Big data clusters
Discovery Day 2019 Sofia - Big data clustersIvan Donev
 
Discovery Day 2019 Sofia - What is new in SQL Server 2019
Discovery Day 2019 Sofia - What is new in SQL Server 2019Discovery Day 2019 Sofia - What is new in SQL Server 2019
Discovery Day 2019 Sofia - What is new in SQL Server 2019Ivan Donev
 
Bi and AI updates in the Microsoft Data Platform stack
Bi and AI updates in the Microsoft Data Platform stackBi and AI updates in the Microsoft Data Platform stack
Bi and AI updates in the Microsoft Data Platform stackIvan Donev
 
Power bi - enterprise cloud reporting platform Azure Bootcamp 19
Power bi - enterprise cloud reporting platform Azure Bootcamp 19Power bi - enterprise cloud reporting platform Azure Bootcamp 19
Power bi - enterprise cloud reporting platform Azure Bootcamp 19Ivan Donev
 
Tips and tricks to optimiza SQL Server Backup and Restore
Tips and tricks to optimiza SQL Server Backup and RestoreTips and tricks to optimiza SQL Server Backup and Restore
Tips and tricks to optimiza SQL Server Backup and RestoreIvan Donev
 
Develop your database with Visual Studio
Develop your database with Visual StudioDevelop your database with Visual Studio
Develop your database with Visual StudioIvan Donev
 
Windows Azure Bootcamp - Microsoft BI in Azure VMs
Windows Azure Bootcamp - Microsoft BI in Azure VMsWindows Azure Bootcamp - Microsoft BI in Azure VMs
Windows Azure Bootcamp - Microsoft BI in Azure VMsIvan Donev
 
Building your first AS solution
Building your first AS solutionBuilding your first AS solution
Building your first AS solutionIvan Donev
 
Sql server consolidation and virtualization
Sql server consolidation and virtualizationSql server consolidation and virtualization
Sql server consolidation and virtualizationIvan Donev
 
Self-service BI with PowerPivot and PowerView
Self-service BI with PowerPivot and PowerViewSelf-service BI with PowerPivot and PowerView
Self-service BI with PowerPivot and PowerViewIvan Donev
 
Is "the bigger the beter" valid in the database world
Is "the bigger the beter" valid in the database worldIs "the bigger the beter" valid in the database world
Is "the bigger the beter" valid in the database worldIvan Donev
 

Mais de Ivan Donev (11)

Discovery Day 2019 Sofia - Big data clusters
Discovery Day 2019 Sofia - Big data clustersDiscovery Day 2019 Sofia - Big data clusters
Discovery Day 2019 Sofia - Big data clusters
 
Discovery Day 2019 Sofia - What is new in SQL Server 2019
Discovery Day 2019 Sofia - What is new in SQL Server 2019Discovery Day 2019 Sofia - What is new in SQL Server 2019
Discovery Day 2019 Sofia - What is new in SQL Server 2019
 
Bi and AI updates in the Microsoft Data Platform stack
Bi and AI updates in the Microsoft Data Platform stackBi and AI updates in the Microsoft Data Platform stack
Bi and AI updates in the Microsoft Data Platform stack
 
Power bi - enterprise cloud reporting platform Azure Bootcamp 19
Power bi - enterprise cloud reporting platform Azure Bootcamp 19Power bi - enterprise cloud reporting platform Azure Bootcamp 19
Power bi - enterprise cloud reporting platform Azure Bootcamp 19
 
Tips and tricks to optimiza SQL Server Backup and Restore
Tips and tricks to optimiza SQL Server Backup and RestoreTips and tricks to optimiza SQL Server Backup and Restore
Tips and tricks to optimiza SQL Server Backup and Restore
 
Develop your database with Visual Studio
Develop your database with Visual StudioDevelop your database with Visual Studio
Develop your database with Visual Studio
 
Windows Azure Bootcamp - Microsoft BI in Azure VMs
Windows Azure Bootcamp - Microsoft BI in Azure VMsWindows Azure Bootcamp - Microsoft BI in Azure VMs
Windows Azure Bootcamp - Microsoft BI in Azure VMs
 
Building your first AS solution
Building your first AS solutionBuilding your first AS solution
Building your first AS solution
 
Sql server consolidation and virtualization
Sql server consolidation and virtualizationSql server consolidation and virtualization
Sql server consolidation and virtualization
 
Self-service BI with PowerPivot and PowerView
Self-service BI with PowerPivot and PowerViewSelf-service BI with PowerPivot and PowerView
Self-service BI with PowerPivot and PowerView
 
Is "the bigger the beter" valid in the database world
Is "the bigger the beter" valid in the database worldIs "the bigger the beter" valid in the database world
Is "the bigger the beter" valid in the database world
 

Último

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
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?Igalia
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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 DevelopmentsTrustArc
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 

Último (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation 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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 

Get the most out of your Windows Azure VMs

  • 1. Get the most out of yourWindows Azure VMs Or how SQL Server best practices apply in the cloud
  • 2. About me 2| @ikdonev /ivan.donev /in/ikdonev
  • 4.
  • 6. What do you get? Hyper-V VM with TIER and SIZE Multi-tenant configuration Windows Server and SQL Server installed 3 disks OS Temporary Data disk
  • 7. Tip #1 –VM Size Start from Standard A2 2CPUs and 3,5GB Memory Basic Tier use different hardware For intensive workloads –A8 and A9 Standard Utilize the Standard D_XX VMs Non-persistent data BPE
  • 8. Tip #2 –Storage account settings Keep it close to the VM Disable GEO replication
  • 9. Tip #3 –Disks and Storage caching Disable caching on data disks Changing cache settings require VM restart Disktype ReadOnly ReadWrite None(disabled) Operatingsystemdisk Supported Defaultmode Notsupported Datadisk Supported Supported Defaultmode
  • 10. Random I/O (8 KB Pages) Sequential I/O (64 KB Extents) Reads Writes Reads Writes 8000 8000 2400 4000 60 MB/s 60 MB/s 150 MB/s 250 MB/s Tip #4 –Multiple disks for I/O bandwidth Single disk performance Multiple disks Striping/Storage pools (WS2012) Random I/O (8 KB Pages) Sequential I/O (64 KB Extents) Reads Writes Reads Writes IOPS 500 500 500 300 Bandwidth 4 MB/s 4 MB/s 30 MB/s 20 MB/s 8/16 disks Random I/O (8 KB Pages) Sequential I/O (64 KB Extents) Reads Writes Reads Writes IOPS 4000 4000 2400 2400 Bandwidth 30 MB/s 30 MB/s 150 MB/s 150 MB/s
  • 11. Disk striping vs Storage Pools Dynamic volume on OS level No Protection Multiple volumes Storage Pools You can use RAID protection Multiple volumes on the same pool
  • 12. Options for storage layout Single volume (striped or from Storage pool)
  • 13. Options for storage layout -cntnd Multiple striped volumes
  • 14. Tip #5 –Single vs. Multiple storage accounts Avoid mixing up Recovery is more difficult with mixed accounts Be careful with limits! 500TB per account
  • 15. Tip #6 –NTFS Allocation size Default = 4 KB Recommended = 64 KB Test with 256 KB cluster size
  • 16. Tip #7 –Instant file initialization Part of the local security policy
  • 17. Performance impact of IFI 0 10 20 30 40 50 60 Create 100 GB database Restore 100 GB database Time (minutes) Impact of Instant File Initialization Without Instant File Initialization With Instant File Initialization
  • 18. Tip #8 –Data compression PAGE compression perform better Reduced I/O Improved OLTP Throughput
  • 19. 400000 500000 600000 700000 800000 900000 1000000 100000 150000 200000 250000 NONE PAGE Reads Time (ms) Query Performance with Data Compression CPU Time Elapsed Time Logical Reads Physical Reads (+RA)
  • 20. 0 10 20 30 40 50 60 70 NONE PAGE CPU Time (%), Throughput (Business Transactions/sec) OLTP Throughput and CPU Usage with Data Compression Throughput CPU Time (%)
  • 21. Tip #9 –Locked pages in memory
  • 22. Tip #10 –Growing and shrinking Disable autoshrink Limit or disable autogrowth
  • 23. What I did not mention Adaptive partitioning and load balancing Backups to Azure BLOB storage -NumberOfColumnsand –Interleave when adding disk to Storage Pools Preconfigured and optimized VMs DWH OLTP
  • 25. Resources http://blogs.technet.com/b/yungchou/archive/ 2012/08/31/windows-server-2012-storage- virtualization-explained.aspx http://msdn.microsoft.com/en- us/library/azure/dn248436.aspx http://thomaslarock.com/2014/08/qa-azure- webinar-scott-klein/ http://sqlmag.com/sql-server/know-your-raid- levels