Optimizing SQL Server Performance in a Virtual Environment 2/18/2019 10:54 PM DBI317 Optimizing SQL Server Performance in a Virtual Environment Denny Cherry Independent Consultant www.mrdenny.com © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
mrdenny@mrdenny.com www.mrdenny.com Denny Cherry @mrdenny
Topics of Discussion Diagnosing Performance Problems Balloon Memory Drivers Memory Deduplication Options Storage Configuration Options
Diagnosing Performance Problems Check Host and Guest CPU numbers Check Host for CPU thrashing Check Host and Guest for Disk IO latency
Balloon Memory Drivers Used by host OS to request memory back from the guest OS Prevents host of from paging physical memory to the hosts swap file Should be enabled Lock pages in memory should be disabled, unless enabled for a specific reason
Memory Reservations Forces the memory to be available for the guest Recommended that it be set to a portion of the allocated memory
Memory Reservations Forces the memory to be available for the guest Recommended that it be set to a portion of the allocated memory
Memory Deduplication Options Great for OS memory Doesn’t work at all for SQL Server Unless… multiple SQL Servers have the same pages in cache
Storage Configuration Options IO is the same if the disks are physical or virtual Use automatic tier adjusting technology if possible Keep OS, data, logs, tempdb on separate disks if possible
Storage Deduplication Can greatly improve overall performance By deduplicating OS virtual disks, we save much less data to the array As less data is written to the array, less OS data is loaded into cache on the array
Monitor, Monitor, Monitor Did I mention that you need to monitor Watch all levels of the environment SQL Server Guest Hypervisor Host Storage
Related Content Breakout Sessions (VIR401, VIR308, VIR 309, DBI313, DBI312) Hands-on Labs (DBI12-HOL, DBI11-HOL) Product Demo Stations (demo station title and location) MCSE SQL Server 2012 Find Me Later At the SQL Server Booth
mva Track Resources SQL Server 2012 Eval Copy Hands-On Labs @sqlserver @TechEd_NA #msTechEd mva Microsoft Virtual Academy Get Certified!
Complete an evaluation on CommNet and enter to win! Required Slide Complete an evaluation on CommNet and enter to win!
MS Tag Scan the Tag to evaluate this session now on myTechEd Mobile
2/18/2019 10:54 PM © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2/18/2019 10:54 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.