SlideShare una empresa de Scribd logo
1 de 42
VMs, SAN, SQL:The Big Threes Brent OzarQuest Software Photo Licensed with Creative Commons From http://www.flickr.com/photos/ektogamat/2687444500/
I’m Your Host: Brent Ozar Microsoft Certified Master SQL Server MVP Quest Software Past Lives: DBA, SAN, VMware admin www.BrentOzar.com Twitter: @BrentO
Today’s Big Threes 3 “Nevers” for VMs 3 “Always” for SAN 3 Metrics for Both Photo Licensed with Creative Commons From http://www.flickr.com/photos/ektogamat/2687444500/
Some Definitions
Our Host 2 Sockets4 Cores Each 64GB RAM 1 Terabyte SAN Photo Licensed with Creative Commons From http://www.flickr.com/photos/brento/1748661584/
The Brochure Says…
CPU Scheduling
CPU Scheduling
CPU Scheduling
Not So Fast!
Never OverallocatevCPUs Less is More Every Tick Matters Minimize CPU Work Don’t Be Strict Photo Licensed with Creative Commons From http://www.flickr.com/photos/rsimpson/3832084595/
So What About Memory? Host: 64GB Guest: 16GB Other Guests: 32GB Photo Licensed with Creative Commons From http://www.flickr.com/photos/erikthenorsk/3642116265/
So What About Memory? Host: 64GB Guest: 16GB Other Guests: 80GB Photo Licensed with Creative Commons From http://www.flickr.com/photos/erikthenorsk/3642116265/
How Hypervisors Cope Host page file Dedupe memory(page sharing) Keep guest OSmemory freed up Learn more inmy bookmarks:http://delicious.com/brento/balloon Photo Licensed with Creative Commons From http://www.flickr.com/photos/heartlover1717/208534358/
Never Use Automatics Set SQL Server’s min/max memory Set VMware’s reservation size Use locked pagescarefully Photo Licensed with Creative Commons From http://www.flickr.com/photos/nataliejohnson/2419154951/
Physical Storage Setup
In Virtualization…
Behind the Curtain
Behind the Curtain
Think You’re Alone?
Never Assume VMs are Alone  Guests move Guests get created Competition: virus scans, scheduled tasks, backups Photo Licensed with Creative Commons From http://www.flickr.com/photos/32172473@N00/4036700968/
Always Know Your Neighbors Same disks Same cache Same controller Same SAN Ask: Usage pattern? Scheduled jobs? Antivirus? Photo Licensed with Creative Commons From http://www.flickr.com/photos/searchnetmedia/4327761697/
Design Storage as a Whole Backup schedules Backup methods Backup targets Use differentials Stagger job times Reconfigure antivirus
Typical SAN Components ,[object Object]
Controllers (& Cache)
Switch networks
Host Bus Adapters
HBA Drivers
Servers,[object Object]
What Does Active/Active Mean? One path per LUN Sending vs receiving Network design Post-failover stickiness
Got High Speed?
So You Tested This Too, Right? Photo Licensed with Creative Commons From http://www.flickr.com/photos/tophost/2247031208/
Always Test First with SQLIO Doesn’t use SQL Server Doesn’t mimic SQL Server Doesn’t return SQL metrics Therefore: SAN guys love it!
The Easy Way
SQLIO Results E:rogram Files (x86)QLIO>sqlio -kW -t2 -s120 -dM -o1 -frandom -b64 -BH -LS Testfile.dat sqlio v1.5.SG using system counter for latency timings, -1361967296 counts per second 2 threads writing for 120 secs to file M:Testfile.dat 	using 64KB random IOs 	enabling multiple I/Os per thread with 1 outstanding 	buffering set to use hardware disk cache (but not file cache) using current size: 24576 MB for file: M:Testfile.dat initialization done CUMULATIVE DATA: throughput metrics: IOs/sec:  1539.50 MBs/sec:    96.21 latency metrics: Min_Latency(ms): 0 Avg_Latency(ms): 0 Max_Latency(ms): 572 histogram: ms: 0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24+ %: 66 32  1  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
Good Numbers, Bad News iSCSI 1GB = 125 MB/sec 10GB = 1250 MB/sec Fibre Channel: 2GB = 250 MB/sec 4GB = 500 MB/sec
Which Causes An Outage? New neighbors RAID restripe Drive failure Cable change Firmware change Switch upgrade Controller reboot Photo Licensed with Creative Commons From http://www.flickr.com/photos/celebdu/10200825/
Where Will You See Changes? Windows event log SQL Server logs Profiler traces Net Send popups Your dreams at night
Always Be Checking Photo Licensed with Creative Commons From http://www.flickr.com/photos/buro9/298998173/
My 3 Favorite Metrics Physical Disk: Avg Sec/Read and Write System: Processor Queue Length SQL Server Memory: Page Life Expectancy
It’s Not All Bad News! Easier scaling Less firmware outages No leased hardware cycles Easier disaster recovery Easier dinosaur handling
Wrapping It Up Virtualization Nevers: OverallocatevCPUs Use automatics Assume your VM is alone SAN Always’s: Know your neighbors Test first with SQLIO Be checking

Más contenido relacionado

La actualidad más candente

Introduction to selenium_grid_workshop
Introduction to selenium_grid_workshopIntroduction to selenium_grid_workshop
Introduction to selenium_grid_workshop
seleniumconf
 
Webconf nodejs-production-architecture
Webconf nodejs-production-architectureWebconf nodejs-production-architecture
Webconf nodejs-production-architecture
Ben Lin
 
Automation using power cli
Automation using power cliAutomation using power cli
Automation using power cli
esarakaitis
 
Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...
Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...
Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...
Ontico
 
Node.js in a heterogeneous system
Node.js in a heterogeneous systemNode.js in a heterogeneous system
Node.js in a heterogeneous system
GeeksLab Odessa
 
Setting Up Amazon EC2 server
Setting Up Amazon EC2 serverSetting Up Amazon EC2 server
Setting Up Amazon EC2 server
Tahsin Hasan
 
Webアプリケーションとメモリ
WebアプリケーションとメモリWebアプリケーションとメモリ
Webアプリケーションとメモリ
Masahiro Nagano
 

La actualidad más candente (20)

AVA - a futuristic test runner
AVA - a futuristic test runnerAVA - a futuristic test runner
AVA - a futuristic test runner
 
Introduction to selenium_grid_workshop
Introduction to selenium_grid_workshopIntroduction to selenium_grid_workshop
Introduction to selenium_grid_workshop
 
On MongoDB backup
On MongoDB backupOn MongoDB backup
On MongoDB backup
 
Webconf nodejs-production-architecture
Webconf nodejs-production-architectureWebconf nodejs-production-architecture
Webconf nodejs-production-architecture
 
High Performance Web Sites
High Performance Web SitesHigh Performance Web Sites
High Performance Web Sites
 
WTF?
WTF?WTF?
WTF?
 
Boyan Ivanov - latency, the #1 metric of your cloud
Boyan Ivanov - latency, the #1 metric of your cloudBoyan Ivanov - latency, the #1 metric of your cloud
Boyan Ivanov - latency, the #1 metric of your cloud
 
[Js hcm] Deploying node.js with Forever.js and nginx
[Js hcm] Deploying node.js with Forever.js and nginx[Js hcm] Deploying node.js with Forever.js and nginx
[Js hcm] Deploying node.js with Forever.js and nginx
 
Automation using power cli
Automation using power cliAutomation using power cli
Automation using power cli
 
MongoDB in Windows Azure - Evgeniy Maliy - Dnipropetrovsk MUG 140303
MongoDB in Windows Azure - Evgeniy Maliy - Dnipropetrovsk MUG 140303 MongoDB in Windows Azure - Evgeniy Maliy - Dnipropetrovsk MUG 140303
MongoDB in Windows Azure - Evgeniy Maliy - Dnipropetrovsk MUG 140303
 
JCrawler
JCrawlerJCrawler
JCrawler
 
Высокопроизводительный инференс глубоких сетей на GPU с помощью TensorRT / Ма...
Высокопроизводительный инференс глубоких сетей на GPU с помощью TensorRT / Ма...Высокопроизводительный инференс глубоких сетей на GPU с помощью TensorRT / Ма...
Высокопроизводительный инференс глубоких сетей на GPU с помощью TensorRT / Ма...
 
Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...
Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...
Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...
 
Nagios Conference 2014 - Troy Lea - Monitoring VMware Virtualization Using vMA
Nagios Conference 2014 - Troy Lea - Monitoring VMware Virtualization Using vMANagios Conference 2014 - Troy Lea - Monitoring VMware Virtualization Using vMA
Nagios Conference 2014 - Troy Lea - Monitoring VMware Virtualization Using vMA
 
Node.js in a heterogeneous system
Node.js in a heterogeneous systemNode.js in a heterogeneous system
Node.js in a heterogeneous system
 
Node.js in a heterogeneous system
Node.js in a heterogeneous systemNode.js in a heterogeneous system
Node.js in a heterogeneous system
 
Introduction to performance tuning perl web applications
Introduction to performance tuning perl web applicationsIntroduction to performance tuning perl web applications
Introduction to performance tuning perl web applications
 
Setting Up Amazon EC2 server
Setting Up Amazon EC2 serverSetting Up Amazon EC2 server
Setting Up Amazon EC2 server
 
OSGi in Action - How we use OSGi to build Open Liberty - Alasdair Nottingham ...
OSGi in Action - How we use OSGi to build Open Liberty - Alasdair Nottingham ...OSGi in Action - How we use OSGi to build Open Liberty - Alasdair Nottingham ...
OSGi in Action - How we use OSGi to build Open Liberty - Alasdair Nottingham ...
 
Webアプリケーションとメモリ
WebアプリケーションとメモリWebアプリケーションとメモリ
Webアプリケーションとメモリ
 

Similar a Virtualization and SAN Basics for DBAs

download it from here
download it from heredownload it from here
download it from here
webhostingguy
 

Similar a Virtualization and SAN Basics for DBAs (20)

5 Steps to Faster Web Sites and HTML5 Games
5 Steps to Faster Web Sites and HTML5 Games5 Steps to Faster Web Sites and HTML5 Games
5 Steps to Faster Web Sites and HTML5 Games
 
5 steps to faster web sites & HTML5 games - updated for DDDscot
5 steps to faster web sites & HTML5 games - updated for DDDscot5 steps to faster web sites & HTML5 games - updated for DDDscot
5 steps to faster web sites & HTML5 games - updated for DDDscot
 
prezentációt
prezentációtprezentációt
prezentációt
 
download it from here
download it from heredownload it from here
download it from here
 
Swift: One Language To Rule Them All
Swift: One Language To Rule Them AllSwift: One Language To Rule Them All
Swift: One Language To Rule Them All
 
(WEB301) Operational Web Log Analysis | AWS re:Invent 2014
(WEB301) Operational Web Log Analysis | AWS re:Invent 2014(WEB301) Operational Web Log Analysis | AWS re:Invent 2014
(WEB301) Operational Web Log Analysis | AWS re:Invent 2014
 
Implementing dr w. hyper v clustering
Implementing dr w. hyper v clusteringImplementing dr w. hyper v clustering
Implementing dr w. hyper v clustering
 
Common Sense Performance Indicators in the Cloud
Common Sense Performance Indicators in the CloudCommon Sense Performance Indicators in the Cloud
Common Sense Performance Indicators in the Cloud
 
Open source: Top issues in the top enterprise packages
Open source: Top issues in the top enterprise packagesOpen source: Top issues in the top enterprise packages
Open source: Top issues in the top enterprise packages
 
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...
Choosing the Right EC2 Instance and Applicable Use Cases - AWS June 2016 Webi...
 
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
 
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
 
(DAT312) Using Amazon Aurora for Enterprise Workloads
(DAT312) Using Amazon Aurora for Enterprise Workloads(DAT312) Using Amazon Aurora for Enterprise Workloads
(DAT312) Using Amazon Aurora for Enterprise Workloads
 
Deep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance PerformanceDeep Dive on Delivering Amazon EC2 Instance Performance
Deep Dive on Delivering Amazon EC2 Instance Performance
 
CMP301_Deep Dive on Amazon EC2 Instances
CMP301_Deep Dive on Amazon EC2 InstancesCMP301_Deep Dive on Amazon EC2 Instances
CMP301_Deep Dive on Amazon EC2 Instances
 
Application Performance Troubleshooting 1x1 - Von Schweinen, Schlangen und Pa...
Application Performance Troubleshooting 1x1 - Von Schweinen, Schlangen und Pa...Application Performance Troubleshooting 1x1 - Von Schweinen, Schlangen und Pa...
Application Performance Troubleshooting 1x1 - Von Schweinen, Schlangen und Pa...
 
Database Hardware Benchmarking
Database Hardware BenchmarkingDatabase Hardware Benchmarking
Database Hardware Benchmarking
 
Getting a Grip on CDN Performance - Why and How
Getting a Grip on CDN Performance - Why and HowGetting a Grip on CDN Performance - Why and How
Getting a Grip on CDN Performance - Why and How
 
Where should I run my code? Serverless, Containers, Virtual Machines and more
Where should I run my code? Serverless, Containers, Virtual Machines and moreWhere should I run my code? Serverless, Containers, Virtual Machines and more
Where should I run my code? Serverless, Containers, Virtual Machines and more
 
Introduction to architecture exploration
Introduction to architecture explorationIntroduction to architecture exploration
Introduction to architecture exploration
 

Más de Quest Software

Perfmon And Profiler 101
Perfmon And Profiler 101Perfmon And Profiler 101
Perfmon And Profiler 101
Quest Software
 

Más de Quest Software (10)

Perfmon And Profiler 201
Perfmon And Profiler 201Perfmon And Profiler 201
Perfmon And Profiler 201
 
Advanced Index Tuning for SQL Server
Advanced Index Tuning for SQL ServerAdvanced Index Tuning for SQL Server
Advanced Index Tuning for SQL Server
 
Perfmon And Profiler 101
Perfmon And Profiler 101Perfmon And Profiler 101
Perfmon And Profiler 101
 
Disaster Recovery 101
Disaster Recovery 101Disaster Recovery 101
Disaster Recovery 101
 
CMDB Basics
CMDB BasicsCMDB Basics
CMDB Basics
 
How To Write A SQL Server Performance Review
How To Write A SQL Server Performance ReviewHow To Write A SQL Server Performance Review
How To Write A SQL Server Performance Review
 
Get Your Boss To Say Yes
Get Your Boss To Say YesGet Your Boss To Say Yes
Get Your Boss To Say Yes
 
Sql Server Service Broker In The Real World
Sql Server Service Broker In The Real WorldSql Server Service Broker In The Real World
Sql Server Service Broker In The Real World
 
Perfmon And Profiler 101
Perfmon And Profiler 101Perfmon And Profiler 101
Perfmon And Profiler 101
 
Advanced Index Tuning
Advanced Index TuningAdvanced Index Tuning
Advanced Index Tuning
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

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
 
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
 
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, ...
 
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...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
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
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
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
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
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...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

Virtualization and SAN Basics for DBAs

  • 1. VMs, SAN, SQL:The Big Threes Brent OzarQuest Software Photo Licensed with Creative Commons From http://www.flickr.com/photos/ektogamat/2687444500/
  • 2. I’m Your Host: Brent Ozar Microsoft Certified Master SQL Server MVP Quest Software Past Lives: DBA, SAN, VMware admin www.BrentOzar.com Twitter: @BrentO
  • 3. Today’s Big Threes 3 “Nevers” for VMs 3 “Always” for SAN 3 Metrics for Both Photo Licensed with Creative Commons From http://www.flickr.com/photos/ektogamat/2687444500/
  • 5. Our Host 2 Sockets4 Cores Each 64GB RAM 1 Terabyte SAN Photo Licensed with Creative Commons From http://www.flickr.com/photos/brento/1748661584/
  • 11. Never OverallocatevCPUs Less is More Every Tick Matters Minimize CPU Work Don’t Be Strict Photo Licensed with Creative Commons From http://www.flickr.com/photos/rsimpson/3832084595/
  • 12. So What About Memory? Host: 64GB Guest: 16GB Other Guests: 32GB Photo Licensed with Creative Commons From http://www.flickr.com/photos/erikthenorsk/3642116265/
  • 13. So What About Memory? Host: 64GB Guest: 16GB Other Guests: 80GB Photo Licensed with Creative Commons From http://www.flickr.com/photos/erikthenorsk/3642116265/
  • 14. How Hypervisors Cope Host page file Dedupe memory(page sharing) Keep guest OSmemory freed up Learn more inmy bookmarks:http://delicious.com/brento/balloon Photo Licensed with Creative Commons From http://www.flickr.com/photos/heartlover1717/208534358/
  • 15. Never Use Automatics Set SQL Server’s min/max memory Set VMware’s reservation size Use locked pagescarefully Photo Licensed with Creative Commons From http://www.flickr.com/photos/nataliejohnson/2419154951/
  • 21. Never Assume VMs are Alone Guests move Guests get created Competition: virus scans, scheduled tasks, backups Photo Licensed with Creative Commons From http://www.flickr.com/photos/32172473@N00/4036700968/
  • 22. Always Know Your Neighbors Same disks Same cache Same controller Same SAN Ask: Usage pattern? Scheduled jobs? Antivirus? Photo Licensed with Creative Commons From http://www.flickr.com/photos/searchnetmedia/4327761697/
  • 23. Design Storage as a Whole Backup schedules Backup methods Backup targets Use differentials Stagger job times Reconfigure antivirus
  • 24.
  • 29.
  • 30. What Does Active/Active Mean? One path per LUN Sending vs receiving Network design Post-failover stickiness
  • 32. So You Tested This Too, Right? Photo Licensed with Creative Commons From http://www.flickr.com/photos/tophost/2247031208/
  • 33. Always Test First with SQLIO Doesn’t use SQL Server Doesn’t mimic SQL Server Doesn’t return SQL metrics Therefore: SAN guys love it!
  • 35. SQLIO Results E:rogram Files (x86)QLIO>sqlio -kW -t2 -s120 -dM -o1 -frandom -b64 -BH -LS Testfile.dat sqlio v1.5.SG using system counter for latency timings, -1361967296 counts per second 2 threads writing for 120 secs to file M:Testfile.dat using 64KB random IOs enabling multiple I/Os per thread with 1 outstanding buffering set to use hardware disk cache (but not file cache) using current size: 24576 MB for file: M:Testfile.dat initialization done CUMULATIVE DATA: throughput metrics: IOs/sec: 1539.50 MBs/sec: 96.21 latency metrics: Min_Latency(ms): 0 Avg_Latency(ms): 0 Max_Latency(ms): 572 histogram: ms: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24+ %: 66 32 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  • 36. Good Numbers, Bad News iSCSI 1GB = 125 MB/sec 10GB = 1250 MB/sec Fibre Channel: 2GB = 250 MB/sec 4GB = 500 MB/sec
  • 37. Which Causes An Outage? New neighbors RAID restripe Drive failure Cable change Firmware change Switch upgrade Controller reboot Photo Licensed with Creative Commons From http://www.flickr.com/photos/celebdu/10200825/
  • 38. Where Will You See Changes? Windows event log SQL Server logs Profiler traces Net Send popups Your dreams at night
  • 39. Always Be Checking Photo Licensed with Creative Commons From http://www.flickr.com/photos/buro9/298998173/
  • 40. My 3 Favorite Metrics Physical Disk: Avg Sec/Read and Write System: Processor Queue Length SQL Server Memory: Page Life Expectancy
  • 41. It’s Not All Bad News! Easier scaling Less firmware outages No leased hardware cycles Easier disaster recovery Easier dinosaur handling
  • 42. Wrapping It Up Virtualization Nevers: OverallocatevCPUs Use automatics Assume your VM is alone SAN Always’s: Know your neighbors Test first with SQLIO Be checking
  • 44. Our Book Internals: Memory Locking Storage Troubleshooting: Perfmon/Profiler RML Utilities SQLNexus
  • 45. Our Authors Christian BoltonMVP, MCM, MCAFormer Microsoft PFE Justin LangfordFormer MS PFE Brent OzarMCM, MVP James Rowland-JonesMVP, EMC Consulting Steven WortMicrosoft Developer
  • 46. Paperbacks & PDF Versions:SQLServerTroubleshooting.com

Notas del editor

  1. How big should our guest be? How many cores should we allocate? How much memory? How much storage?
  2. For a two-CPU VM, Vmware found just an 8% CPU overhead.CPUs are constantly getting fasterHow many of you believe that? Well, the reason you don’t believe it is because you’re probably not doing it right.
  3. When C needs CPU power, he’s slowing down A & B.Do we allow A&B to run single-CPU operations on CPU 2 while C runs?
  4. Less is more - single processor everywhere. Always easy to go up if you really need it.Good practice for SQL licensing anyway.It’s not about getting as many CPUs as you can – it’s about succeeding in the virtual environment.Every tick – remove anything that burns CPU, including screensavers
  5. Freed up = balloon driver
  6. It LOOKS like an array to you, but it’s really just a file on another array. Here’s a screenshot…
  7. This is just one volumeProblem is exacerbated with today’s huge hard drivesGotta monitor IO 24/7It’s not just the performance of the drives – it’s also how you ACCESS the drives
  8. Your guest can move from host to host at any timeOther guests can pile on to your hostHost configurations can change without you knowingCPU & memory testing is almost meaningless as long as you’re sharing hosts
  9. How many of you have cable modems or DSL?How much does it cost you per month?I bet you’ve run speed tests to find out how fast it is, right?
  10. Good news is that your SAN admin can change RAID methods, cache settings, all kinds of things to improve performance
  11. We need something to measure with – what runs every day, and we keep a history of it?Backup job times.