SlideShare a Scribd company logo
1 of 32
Download to read offline
VMs, SSDs and SQL
Server—Oh, My!
Joey D’Antoni
» Joey has over 15 years of experience with a wide variety of data
platforms, in both Fortune 50 companies as well as smaller organizations
» Principal Consultant, Denny Cherry and Associates
» He is a frequent speaker on database administration, big data, and
career management
» He is the co-president of the Philadelphia SQL Server User’s Group
» He wants you to make sure you can restore your data
Joeydantoni.com
AGENDA
How SSDs
Change the
Game
Being a DBA
in a Virtual
Environment
Managing
Your SSD
Environment
Storage
Policy for
Databases
Maximize
Your Benefits
3
V M s , S S Ds And S Q L S e r v e r, O h M y
© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SPINNING DISK DRIVES
Hard Drives can only spin at 15,000 RPM.
Hard Drive Performance has improved approximately
10x (1988-2008)
Have grown many fold in capacity
During the performance improvement CPU speed
increase 10000x
WHY IS STORAGE THE BOTTLENECK?
MEMORY VERSUS HARD DRIVES
SOLID STATE DRIVES
7© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
WHY ARE SSDs SO MUCH FASTER?
8
THE LAW S O F P HY S I CS
© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SAN TERMS
Disk Array—The physical array behind your SAN (a bunch of
hard drives)
LUN—Logical Unit Number, but in practical terms, what your
SAN admin will call a disk that he presents to your server
Fibre Channel—Cable connection to SAN
IOPs—I/O Operations Per Second—the way your SAN admin
measures performance
HOW DOES THIS WORK IN A SAN?
Add Spindles to Add IO
Performance
Performance of ONE PCI-E SSD
card
• 235,000 8k Random IOPS
20µs latency
You’d Need 3500 15k RPM
Spinning Disks in RAID 10 to
achieve that level of performance
10© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SO HOW DO I BENEFIT THE MOST?
Treat SSDs as limited
resource
• Use Data Compression where
possible
Where does SQL Server
bottleneck on IO?
• TempDB—SQL Server uses
TempDB for EVERYTHING
• Hot Datafiles—what is your
busiest database?
11© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
ALL FLASH ARRAYS
12© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Not just pure speed
Software benefits
Write leveling (randomization)
Compression
Caching
Oh, and Pure Speed Peugeot 905, 24 Hours of LeMans
1993, 391 kph/242 mph, Mulsanne
Straight
MODERN STORAGE ARRAY ARCHITECTURE
Stripes all data across all devices in array (768 kb
– 1 MB)
Minimizes impact of any hot spotting
Increases overall performance of array
Makes data file placement far less important
than in the past
13© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
OLD ARCHITECTURE
14© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Data Files
TempDB
Transaction
Logs
MODERN ARCHITECTURE
15© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
All data is striped across
all devices in the array
HYBRID ARRAYS
Mix Performance and Price
• Common config
• SSD Tier
• Fast Spinning Tier
• Dense Spinning Tier
Rely on striping for
performance gains
Your storage admin can’t
tell you where data is
16© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
DATA FILE LAYOUT
It depends
If using all flash
configuration:
• Consider Hot Spots
• Most arrays are
smart enough to
distribute workload
• If on smart array,
there’s no real
reason to layout
data files
If using hybrid
array—see next
slide
Always protect
your data
17© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
HYBRID ARRAY POLICY
SSD SSD SSD
15K Fibre Channel 15k Fibre Channel 15k Fibre Channel
10K SATA 10K SATA 10K SATA
Log
Data
Temp
DB
Temp
DB (2)
HYBRID ARRAYS FILE LAYOUT
•TempDB Performance
•TempDB Normal
•Transaction Logs
•Data Files Performance
•Data Files Normal
Separate
Volumes
by SAN
Policy
19 |
ALL FLASH LAYOUT
It doesn’t matter!
Software eliminates
sequential write
performance issues
Data is striped across entire
array for protection
20 |
ARRAY BASED
COMPRESSION
21 |
W HAT DO E S THI S M E AN FO R DATABAS E S ?
ARRAY BASED COMPRESSION
Needs more research
Early consensus from two storage
vendors is positive
Keep using Data Compression
Keep using Columnstore
Not just IO benefits, but memory
improvements
22 |
What is the Impact of Virtual
Machine Performance?
23 |
DATASTORES
It can be easy to overwhelm
storage if not enough storage
devices are presented
Datastores will correspond to
SAN policy groups
VMs Love Fast IO
DRIVERS AND STORAGE CONFIG
Avoid Lazy Zeroing
on Drive Volumes
• Thick Provision Eager
Zeroed
Group VMDK files of
each storage type
(TempDB, Logs, Data)
in storage pools
Use ParaVirtual iSCSI
drivers for optimal
performance
25 |
VIRTUALIZING SQL SERVER
Reserve memory for production workloads
Also reserve memory in Hypervisor for Prod
Servers
Configure storage and data files based on SAN
policy
Baseline IO performance
VIRTUALIZING SQL SERVER
Think carefully about using lock pages
in memory*
Enable optimize for ad-hoc workloads
DON’T OVERALLOCATE CPUs
DPA WITH VM OPTION
» See correlations
between SQL
Server performance
and VM resources,
the physical host,
storage and the
network
» Identify root cause
of issues impacting
end user response
time
28 |
SUMMARY
Understand impact of storage to your SQL Server
Solid State Drives are FAST!!!!
Gain understanding of the type of array that you are working on
Design your SQL Server architecture to take advantage of that
Understand your virtualization environment of how this all works
together
29 |
QUESTIONS?
© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 30
FREE TRIAL
• Try Database Performance Analyzer with VM Option FREE for 14
days
• Improve performance
• Quickly identify root cause of issues that impact end-user response time
• See historical trends over days, months, and years
• Understand impact of VMware® performance
• Agentless architecture, installs in minutes
31
RE S O LV E P E RFO RM ANCE I S S UE S Q UI CKLY
© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
www.solarwinds.com/dpa-download/
THANK YOU
© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
The SOLARWINDS and SOLARWINDS & Design marks are the exclusive property of SolarWinds Worldwide, LLC, are registered with the U.S.
Patent and Trademark Office, and may be registered or pending registration in other countries. All other SolarWinds trademarks, service marks,
and logos may be common law marks, registered or pending registration in the United States or in other countries. All other trademarks
mentioned herein are used for identification purposes only and may be or are trademarks or registered trademarks of their respective companies.
32

More Related Content

What's hot

NGENSTOR_ODA_P2V_V5
NGENSTOR_ODA_P2V_V5NGENSTOR_ODA_P2V_V5
NGENSTOR_ODA_P2V_V5
UniFabric
 
KoprowskiT - SQLBITS X - 2am a disaster just began
KoprowskiT - SQLBITS X - 2am a disaster just beganKoprowskiT - SQLBITS X - 2am a disaster just began
KoprowskiT - SQLBITS X - 2am a disaster just began
Tobias Koprowski
 
Best Practices of HA and Replication of PostgreSQL in Virtualized Environments
Best Practices of HA and Replication of PostgreSQL in Virtualized EnvironmentsBest Practices of HA and Replication of PostgreSQL in Virtualized Environments
Best Practices of HA and Replication of PostgreSQL in Virtualized Environments
Jignesh Shah
 

What's hot (20)

NGENSTOR_ODA_P2V_V5
NGENSTOR_ODA_P2V_V5NGENSTOR_ODA_P2V_V5
NGENSTOR_ODA_P2V_V5
 
VMworld 2014: Virtualizing Databases
VMworld 2014: Virtualizing DatabasesVMworld 2014: Virtualizing Databases
VMworld 2014: Virtualizing Databases
 
OOW13: It's a solid state-world
OOW13: It's a solid state-worldOOW13: It's a solid state-world
OOW13: It's a solid state-world
 
CaSSanDra: An SSD Boosted Key-Value Store
CaSSanDra: An SSD Boosted Key-Value StoreCaSSanDra: An SSD Boosted Key-Value Store
CaSSanDra: An SSD Boosted Key-Value Store
 
Hardware planning & sizing for sql server
Hardware planning & sizing for sql serverHardware planning & sizing for sql server
Hardware planning & sizing for sql server
 
DB12c: All You Need to Know About the Resource Manager
DB12c: All You Need to Know About the Resource ManagerDB12c: All You Need to Know About the Resource Manager
DB12c: All You Need to Know About the Resource Manager
 
KoprowskiT - SQLBITS X - 2am a disaster just began
KoprowskiT - SQLBITS X - 2am a disaster just beganKoprowskiT - SQLBITS X - 2am a disaster just began
KoprowskiT - SQLBITS X - 2am a disaster just began
 
MySQL Enterprise Backup
MySQL Enterprise BackupMySQL Enterprise Backup
MySQL Enterprise Backup
 
KoprowskiT_Session2_SDNEvent_SourceControlForDBA
KoprowskiT_Session2_SDNEvent_SourceControlForDBAKoprowskiT_Session2_SDNEvent_SourceControlForDBA
KoprowskiT_Session2_SDNEvent_SourceControlForDBA
 
KoprowskiT_SQLRelay2014#8_Birmingham_FromPlanToBackupToCloud
KoprowskiT_SQLRelay2014#8_Birmingham_FromPlanToBackupToCloudKoprowskiT_SQLRelay2014#8_Birmingham_FromPlanToBackupToCloud
KoprowskiT_SQLRelay2014#8_Birmingham_FromPlanToBackupToCloud
 
Why does my choice of storage matter with cassandra?
Why does my choice of storage matter with cassandra?Why does my choice of storage matter with cassandra?
Why does my choice of storage matter with cassandra?
 
What's So Special about the Oracle Database Appliance?
What's So Special about the Oracle Database Appliance?What's So Special about the Oracle Database Appliance?
What's So Special about the Oracle Database Appliance?
 
MySQL Performance Tuning: The Perfect Scalability (OOW2019)
MySQL Performance Tuning: The Perfect Scalability (OOW2019)MySQL Performance Tuning: The Perfect Scalability (OOW2019)
MySQL Performance Tuning: The Perfect Scalability (OOW2019)
 
VMworld 2013: Just Because You Could, Doesn't Mean You Should: Lessons Learne...
VMworld 2013: Just Because You Could, Doesn't Mean You Should: Lessons Learne...VMworld 2013: Just Because You Could, Doesn't Mean You Should: Lessons Learne...
VMworld 2013: Just Because You Could, Doesn't Mean You Should: Lessons Learne...
 
KoprowskiT_SQLRelay2014#1_Reading_FromPlanToBackupToCloud
KoprowskiT_SQLRelay2014#1_Reading_FromPlanToBackupToCloudKoprowskiT_SQLRelay2014#1_Reading_FromPlanToBackupToCloud
KoprowskiT_SQLRelay2014#1_Reading_FromPlanToBackupToCloud
 
Postgres Plus Cloud Database on OpenStack
Postgres Plus Cloud Database on OpenStackPostgres Plus Cloud Database on OpenStack
Postgres Plus Cloud Database on OpenStack
 
Running E-Business Suite Database on Oracle Database Appliance
Running E-Business Suite Database on Oracle Database ApplianceRunning E-Business Suite Database on Oracle Database Appliance
Running E-Business Suite Database on Oracle Database Appliance
 
HBase Operations and Best Practices
HBase Operations and Best PracticesHBase Operations and Best Practices
HBase Operations and Best Practices
 
Best Practices of HA and Replication of PostgreSQL in Virtualized Environments
Best Practices of HA and Replication of PostgreSQL in Virtualized EnvironmentsBest Practices of HA and Replication of PostgreSQL in Virtualized Environments
Best Practices of HA and Replication of PostgreSQL in Virtualized Environments
 
High availability disaster recovery 101
High availability   disaster recovery 101High availability   disaster recovery 101
High availability disaster recovery 101
 

Similar to How to configure SQL Server for SSDs and VMs

Using preferred read groups in oracle asm michael ault
Using preferred read groups in oracle asm michael aultUsing preferred read groups in oracle asm michael ault
Using preferred read groups in oracle asm michael ault
Louis liu
 
Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]
shuwutong
 
Application acceleration from the data storage perspective
Application acceleration from the data storage perspectiveApplication acceleration from the data storage perspective
Application acceleration from the data storage perspective
Interop
 
Handling Massive Writes
Handling Massive WritesHandling Massive Writes
Handling Massive Writes
Liran Zelkha
 

Similar to How to configure SQL Server for SSDs and VMs (20)

How Do I Know My SQL & Virtual Environments Are Ready for SSD?
How Do I Know My SQL & Virtual Environments Are Ready for SSD?How Do I Know My SQL & Virtual Environments Are Ready for SSD?
How Do I Know My SQL & Virtual Environments Are Ready for SSD?
 
Is This Really a SAN Problem? Understanding the Performance of Your IO Subsy...
Is This Really a SAN Problem? Understanding the Performance of  Your IO Subsy...Is This Really a SAN Problem? Understanding the Performance of  Your IO Subsy...
Is This Really a SAN Problem? Understanding the Performance of Your IO Subsy...
 
Controlling performance in the cloud: taking charge of your hosting environment
Controlling performance in the cloud: taking charge of your hosting environmentControlling performance in the cloud: taking charge of your hosting environment
Controlling performance in the cloud: taking charge of your hosting environment
 
Architectural designs driving sql server performance and high availability
Architectural designs driving sql server performance and high availabilityArchitectural designs driving sql server performance and high availability
Architectural designs driving sql server performance and high availability
 
Find and fix SQL Server performance problems faster
Find and fix SQL Server performance problems fasterFind and fix SQL Server performance problems faster
Find and fix SQL Server performance problems faster
 
Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...
Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...
Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...
 
Stopping Storage Hardware Sprawl
Stopping Storage Hardware SprawlStopping Storage Hardware Sprawl
Stopping Storage Hardware Sprawl
 
Presentazione SimpliVity @ VMUGIT UserCon 2015
Presentazione SimpliVity @ VMUGIT UserCon 2015Presentazione SimpliVity @ VMUGIT UserCon 2015
Presentazione SimpliVity @ VMUGIT UserCon 2015
 
Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want...
Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want...Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want...
Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want...
 
Cohodatawebinar
Cohodatawebinar Cohodatawebinar
Cohodatawebinar
 
Optimizing Flash Storage for SQL Databases
Optimizing Flash Storage for SQL DatabasesOptimizing Flash Storage for SQL Databases
Optimizing Flash Storage for SQL Databases
 
Webinar: The Bifurcation of the Flash Market
Webinar: The Bifurcation of the Flash MarketWebinar: The Bifurcation of the Flash Market
Webinar: The Bifurcation of the Flash Market
 
Using preferred read groups in oracle asm michael ault
Using preferred read groups in oracle asm michael aultUsing preferred read groups in oracle asm michael ault
Using preferred read groups in oracle asm michael ault
 
IMC Summit 2016 Breakout - Brian Bulkowski - NVMe, Storage Class Memory and O...
IMC Summit 2016 Breakout - Brian Bulkowski - NVMe, Storage Class Memory and O...IMC Summit 2016 Breakout - Brian Bulkowski - NVMe, Storage Class Memory and O...
IMC Summit 2016 Breakout - Brian Bulkowski - NVMe, Storage Class Memory and O...
 
Advanced equal logic customer presentation
Advanced equal logic customer presentationAdvanced equal logic customer presentation
Advanced equal logic customer presentation
 
Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]
 
Application acceleration from the data storage perspective
Application acceleration from the data storage perspectiveApplication acceleration from the data storage perspective
Application acceleration from the data storage perspective
 
S de0882 new-generation-tiering-edge2015-v3
S de0882 new-generation-tiering-edge2015-v3S de0882 new-generation-tiering-edge2015-v3
S de0882 new-generation-tiering-edge2015-v3
 
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
 
Handling Massive Writes
Handling Massive WritesHandling Massive Writes
Handling Massive Writes
 

More from SolarWinds

More from SolarWinds (20)

SolarWinds Government and Education Webinar: Greatest SolarWinds Features I N...
SolarWinds Government and Education Webinar: Greatest SolarWinds Features I N...SolarWinds Government and Education Webinar: Greatest SolarWinds Features I N...
SolarWinds Government and Education Webinar: Greatest SolarWinds Features I N...
 
SolarWinds Government and Education Webinar: Gaps Exist in Your Monitoring In...
SolarWinds Government and Education Webinar: Gaps Exist in Your Monitoring In...SolarWinds Government and Education Webinar: Gaps Exist in Your Monitoring In...
SolarWinds Government and Education Webinar: Gaps Exist in Your Monitoring In...
 
Government Webinar: Alerting and Reporting in the Age of Observability
Government Webinar: Alerting and Reporting in the Age of ObservabilityGovernment Webinar: Alerting and Reporting in the Age of Observability
Government Webinar: Alerting and Reporting in the Age of Observability
 
Government and Education Webinar: Full Stack Observability
Government and Education Webinar: Full Stack ObservabilityGovernment and Education Webinar: Full Stack Observability
Government and Education Webinar: Full Stack Observability
 
Government and Education Webinar: Public Sector Cybersecurity Survey - What I...
Government and Education Webinar: Public Sector Cybersecurity Survey - What I...Government and Education Webinar: Public Sector Cybersecurity Survey - What I...
Government and Education Webinar: Public Sector Cybersecurity Survey - What I...
 
Becoming Secure By Design: Questions You Should Ask Your Software Vendors
Becoming Secure By Design: Questions You Should Ask Your Software VendorsBecoming Secure By Design: Questions You Should Ask Your Software Vendors
Becoming Secure By Design: Questions You Should Ask Your Software Vendors
 
Government and Education Webinar: Real-Time Mission, CIO, and Command Dashboards
Government and Education Webinar: Real-Time Mission, CIO, and Command DashboardsGovernment and Education Webinar: Real-Time Mission, CIO, and Command Dashboards
Government and Education Webinar: Real-Time Mission, CIO, and Command Dashboards
 
Government and Education Webinar: Simplify Your Database Performance Manageme...
Government and Education Webinar: Simplify Your Database Performance Manageme...Government and Education Webinar: Simplify Your Database Performance Manageme...
Government and Education Webinar: Simplify Your Database Performance Manageme...
 
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...
 
Government and Education Webinar: Leverage Automation to Improve IT Operations
Government and Education Webinar: Leverage Automation to Improve IT OperationsGovernment and Education Webinar: Leverage Automation to Improve IT Operations
Government and Education Webinar: Leverage Automation to Improve IT Operations
 
Government and Education Webinar: Improving Application Performance
Government and Education Webinar: Improving Application PerformanceGovernment and Education Webinar: Improving Application Performance
Government and Education Webinar: Improving Application Performance
 
Government and Education: IT Tools to Support Your Hybrid Workforce
Government and Education: IT Tools to Support Your Hybrid WorkforceGovernment and Education: IT Tools to Support Your Hybrid Workforce
Government and Education: IT Tools to Support Your Hybrid Workforce
 
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
 
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...
 
Government and Education Webinar: Zero-Trust Panel Discussion
Government and Education Webinar: Zero-Trust Panel Discussion Government and Education Webinar: Zero-Trust Panel Discussion
Government and Education Webinar: Zero-Trust Panel Discussion
 
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
 
Government and Education Webinar: SQL Server—Advanced Performance Tuning
Government and Education Webinar: SQL Server—Advanced Performance Tuning Government and Education Webinar: SQL Server—Advanced Performance Tuning
Government and Education Webinar: SQL Server—Advanced Performance Tuning
 
Government and Education Webinar: Recovering IP Addresses on Your Network
Government and Education Webinar: Recovering IP Addresses on Your NetworkGovernment and Education Webinar: Recovering IP Addresses on Your Network
Government and Education Webinar: Recovering IP Addresses on Your Network
 
Government and Education Webinar: Optimize Performance With Advanced Host Mon...
Government and Education Webinar: Optimize Performance With Advanced Host Mon...Government and Education Webinar: Optimize Performance With Advanced Host Mon...
Government and Education Webinar: Optimize Performance With Advanced Host Mon...
 
Government and Education Webinar: Conquering Remote Work IT Challenges
Government and Education Webinar: Conquering Remote Work IT Challenges Government and Education Webinar: Conquering Remote Work IT Challenges
Government and Education Webinar: Conquering Remote Work IT Challenges
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
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...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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
 
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)
 
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...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
"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 ...
 
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
 
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 Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

How to configure SQL Server for SSDs and VMs

  • 1. VMs, SSDs and SQL Server—Oh, My!
  • 2. Joey D’Antoni » Joey has over 15 years of experience with a wide variety of data platforms, in both Fortune 50 companies as well as smaller organizations » Principal Consultant, Denny Cherry and Associates » He is a frequent speaker on database administration, big data, and career management » He is the co-president of the Philadelphia SQL Server User’s Group » He wants you to make sure you can restore your data Joeydantoni.com
  • 3. AGENDA How SSDs Change the Game Being a DBA in a Virtual Environment Managing Your SSD Environment Storage Policy for Databases Maximize Your Benefits 3 V M s , S S Ds And S Q L S e r v e r, O h M y © 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 4. SPINNING DISK DRIVES Hard Drives can only spin at 15,000 RPM. Hard Drive Performance has improved approximately 10x (1988-2008) Have grown many fold in capacity During the performance improvement CPU speed increase 10000x
  • 5. WHY IS STORAGE THE BOTTLENECK?
  • 7. SOLID STATE DRIVES 7© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 8. WHY ARE SSDs SO MUCH FASTER? 8 THE LAW S O F P HY S I CS © 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 9. SAN TERMS Disk Array—The physical array behind your SAN (a bunch of hard drives) LUN—Logical Unit Number, but in practical terms, what your SAN admin will call a disk that he presents to your server Fibre Channel—Cable connection to SAN IOPs—I/O Operations Per Second—the way your SAN admin measures performance
  • 10. HOW DOES THIS WORK IN A SAN? Add Spindles to Add IO Performance Performance of ONE PCI-E SSD card • 235,000 8k Random IOPS 20µs latency You’d Need 3500 15k RPM Spinning Disks in RAID 10 to achieve that level of performance 10© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 11. SO HOW DO I BENEFIT THE MOST? Treat SSDs as limited resource • Use Data Compression where possible Where does SQL Server bottleneck on IO? • TempDB—SQL Server uses TempDB for EVERYTHING • Hot Datafiles—what is your busiest database? 11© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 12. ALL FLASH ARRAYS 12© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. Not just pure speed Software benefits Write leveling (randomization) Compression Caching Oh, and Pure Speed Peugeot 905, 24 Hours of LeMans 1993, 391 kph/242 mph, Mulsanne Straight
  • 13. MODERN STORAGE ARRAY ARCHITECTURE Stripes all data across all devices in array (768 kb – 1 MB) Minimizes impact of any hot spotting Increases overall performance of array Makes data file placement far less important than in the past 13© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 14. OLD ARCHITECTURE 14© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. Data Files TempDB Transaction Logs
  • 15. MODERN ARCHITECTURE 15© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. All data is striped across all devices in the array
  • 16. HYBRID ARRAYS Mix Performance and Price • Common config • SSD Tier • Fast Spinning Tier • Dense Spinning Tier Rely on striping for performance gains Your storage admin can’t tell you where data is 16© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 17. DATA FILE LAYOUT It depends If using all flash configuration: • Consider Hot Spots • Most arrays are smart enough to distribute workload • If on smart array, there’s no real reason to layout data files If using hybrid array—see next slide Always protect your data 17© 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 18. HYBRID ARRAY POLICY SSD SSD SSD 15K Fibre Channel 15k Fibre Channel 15k Fibre Channel 10K SATA 10K SATA 10K SATA Log Data Temp DB Temp DB (2)
  • 19. HYBRID ARRAYS FILE LAYOUT •TempDB Performance •TempDB Normal •Transaction Logs •Data Files Performance •Data Files Normal Separate Volumes by SAN Policy 19 |
  • 20. ALL FLASH LAYOUT It doesn’t matter! Software eliminates sequential write performance issues Data is striped across entire array for protection 20 |
  • 21. ARRAY BASED COMPRESSION 21 | W HAT DO E S THI S M E AN FO R DATABAS E S ?
  • 22. ARRAY BASED COMPRESSION Needs more research Early consensus from two storage vendors is positive Keep using Data Compression Keep using Columnstore Not just IO benefits, but memory improvements 22 |
  • 23. What is the Impact of Virtual Machine Performance? 23 |
  • 24. DATASTORES It can be easy to overwhelm storage if not enough storage devices are presented Datastores will correspond to SAN policy groups VMs Love Fast IO
  • 25. DRIVERS AND STORAGE CONFIG Avoid Lazy Zeroing on Drive Volumes • Thick Provision Eager Zeroed Group VMDK files of each storage type (TempDB, Logs, Data) in storage pools Use ParaVirtual iSCSI drivers for optimal performance 25 |
  • 26. VIRTUALIZING SQL SERVER Reserve memory for production workloads Also reserve memory in Hypervisor for Prod Servers Configure storage and data files based on SAN policy Baseline IO performance
  • 27. VIRTUALIZING SQL SERVER Think carefully about using lock pages in memory* Enable optimize for ad-hoc workloads DON’T OVERALLOCATE CPUs
  • 28. DPA WITH VM OPTION » See correlations between SQL Server performance and VM resources, the physical host, storage and the network » Identify root cause of issues impacting end user response time 28 |
  • 29. SUMMARY Understand impact of storage to your SQL Server Solid State Drives are FAST!!!! Gain understanding of the type of array that you are working on Design your SQL Server architecture to take advantage of that Understand your virtualization environment of how this all works together 29 |
  • 30. QUESTIONS? © 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 30
  • 31. FREE TRIAL • Try Database Performance Analyzer with VM Option FREE for 14 days • Improve performance • Quickly identify root cause of issues that impact end-user response time • See historical trends over days, months, and years • Understand impact of VMware® performance • Agentless architecture, installs in minutes 31 RE S O LV E P E RFO RM ANCE I S S UE S Q UI CKLY © 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. www.solarwinds.com/dpa-download/
  • 32. THANK YOU © 2015 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. The SOLARWINDS and SOLARWINDS & Design marks are the exclusive property of SolarWinds Worldwide, LLC, are registered with the U.S. Patent and Trademark Office, and may be registered or pending registration in other countries. All other SolarWinds trademarks, service marks, and logos may be common law marks, registered or pending registration in the United States or in other countries. All other trademarks mentioned herein are used for identification purposes only and may be or are trademarks or registered trademarks of their respective companies. 32