SlideShare a Scribd company logo
1 of 30
Download to read offline
Scaling Up and Out
Your Virtualized
SQL Servers
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
About Ben DeBow
• CEO Fortified Data
• Working with SQL Server for 20yrs
• Author, speaker, and consultant focusing on Performance,
Scalability, and Availability
• E-mail: bdebow@fortifieddb.com
• Twitter: @BBQSQL
• Web/Blog: http://www.fortifieddb.com
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
About David Klee
#devconnections
@kleegeek
davidklee.net
gplus.to/kleegeek
linked.com/a/davidaklee
Specialties / Focus Areas / Passions:
• Performance Tuning
• Virtualization
• Infrastructure
• Troubleshooting
• High Availability
• Disaster Recovery
• Capacity Management
• Health & Efficiency
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Agenda
• Scale Out vs. Scale Up
• Scale In
• “Right-Sizing”
• Efficiency
• Workload characteristics
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Scalability
• Scale up = vertical scaling
• Vertical scaling = single instance faster
• Horizontal
– Data dependent routing
– Read Only Replicas
– Peer to Peer Replication
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Scale Out vs. Scale Up
• Age-old problem
• One server to thousands
• Now introduce virtualization
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Scale Up
PROS
• Single system / app
distribution
• Faster & quicker
CONS
• Single server bottlenecks
• Scalability limits
• Internal SQL Server
contention
• More expensive
hardware
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Scale Out
PROS
• Separation of
workloads
• Smaller VMs
• More agile VMs
• Load balance
• Outages impact less
CONS
• Licensing
• Management
• Day-to-day operations
• Complexity
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Scale IN First
• Efficiency, health, and bottleneck
analysis
• Limited upsides to more hardware
• Performance gains without more
resources
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Bottleneck Analysis
• Underneath the VM
• VM config and placement
• SQL Server instance
• SQL Server database
• Determine tipping points
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
VM Configuration
• Start with gold certified template
• Adjust resources
• One size does not fit all
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
“Right-Sizing”
• What? How?
• Resource allocations
– What is needed now
• Type of workload
• vNUMA
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Leverage VM Infrastructure
• VM proximity
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Leverage VM Infrastructure
• Transparent SSD read caching
– Per vDisk
#devconnections
SSD
SAN
LUN
LUN
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Priority Tiers
• Mission-critical production vs.
everything else
• Tier / prioritize resource queues
• Separation of tiers
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Add Hardware
• Faster CPUs / more cores
• More RAM
• Faster storage (IOps / latency)
• Faster / more interconnects
– Storage fabric
– Networking
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Efficiency - Concurrency
• Locking & blocking
• Read Committed Snapshot Isolation
• Asynchronous handling
– Service Broker
– SSIS
– PoSH
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Efficiency - Code Review
• Schema design
• Strongly typed data types
• Queries & procedures
• App data handling
• …. And the list continues forever…
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Efficiency - CPU
• Cores & schedulers
• Hyper-Threading
• NUMA
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Efficiency - Memory
• Use memory to reduce I/O
• Use less memory with better efficiency
• Schema & index strategies
• Data & index compression
• Buffer pool extensions
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Efficiency - Storage
• Goal: reduce I/O consumption
• Better distribution of workload
– Data files
– File groups
– Partitions
– Virtual disks
#devconnections
Virtual disks
Paths
Controllers
LUNs
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
#devconnections
SAN
DB
E:
FG1
FG2
DF4
DF3
DF2
DF1
G:
F:
WindowsServerOSx
Virtualization
Hardware
HBA4HBA3HBA2HBA1
InterconnectSwitch
Controller1Controller2
SANDiskGroup
LUN2LUN1
HBA4HBA3HBA2HBA1
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Efficiency - Storage
• Data / index compression
• Indexing strategies
• Datatype analysis
• In-memory constructs
• Buffer pool extensions
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Segregating Workloads
• One VM per purpose
• Offload read-only activities
– Availability Groups
– Replication
– Backups
• Sharding / data dependent routing
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Workload Characteristics
• Monitoring
• Workload performance stat collection
– At all layers
• Aggregation by host & cluster
• Analysis
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Ongoing Review
• Routine “right-sizing” analysis
• Capacity analysis & planning
• Baselines
• What to capture and analyze?
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
Conclusions
• Efficient virtualization
• Workload characterization
• Bottleneck relief
• Long-term management
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
QUESTIONS?
#devconnections
SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS
THANK YOU!
#devconnections
SESSION TITLE
#devconnections
Rate This Session Now!
Rate with Mobile App:
1. Select the session from the
Agenda or Speakers menus
2. Select the Actions tab
3. Click Rate Session
Rate Using Our Website:
1. Register at www.devconnections.com/logintoratesession
2. Go to www.devconnections.com/ratesession
3. Select this session from the list and rate it
Tell Us
What
You
Thought
of This
Session
Be Entered to
WINPrizes!

More Related Content

What's hot

SQL SERVER DBA MARK
SQL SERVER DBA MARKSQL SERVER DBA MARK
SQL SERVER DBA MARKMark Eremah
 
SQL Server Database as a Cloud Service
SQL Server Database as a Cloud ServiceSQL Server Database as a Cloud Service
SQL Server Database as a Cloud ServicePio Balistoy
 
Couchbase Chennai meetup #3 What's new in Couchbase Server & Couchbase Mobile
Couchbase Chennai meetup #3  What's new in Couchbase Server & Couchbase MobileCouchbase Chennai meetup #3  What's new in Couchbase Server & Couchbase Mobile
Couchbase Chennai meetup #3 What's new in Couchbase Server & Couchbase MobileKarthik Babu Sekar
 
Cloud migrations Experiences from the Field
Cloud migrations Experiences from the FieldCloud migrations Experiences from the Field
Cloud migrations Experiences from the FieldMariano Kovo
 
02 hosting servicesinwindowsazure
02 hosting servicesinwindowsazure02 hosting servicesinwindowsazure
02 hosting servicesinwindowsazureBat Programmer
 
Lac portfolio
Lac portfolioLac portfolio
Lac portfoliolacndar1
 
Migrating with Debezium
Migrating with DebeziumMigrating with Debezium
Migrating with DebeziumMike Fowler
 
Toad for Sybase Datasheet
Toad for Sybase DatasheetToad for Sybase Datasheet
Toad for Sybase DatasheetToad4Sybase
 
Couchbase overview033113long
Couchbase overview033113longCouchbase overview033113long
Couchbase overview033113longJeff Harris
 
Geek Sync | Taking Your First Steps to the Cloud—Building a Hybrid Model
Geek Sync | Taking Your First Steps to the Cloud—Building a Hybrid ModelGeek Sync | Taking Your First Steps to the Cloud—Building a Hybrid Model
Geek Sync | Taking Your First Steps to the Cloud—Building a Hybrid ModelIDERA Software
 
Deploy Office Web Apps Server 2013 in Azure
Deploy Office Web Apps Server 2013 in AzureDeploy Office Web Apps Server 2013 in Azure
Deploy Office Web Apps Server 2013 in AzureSPSSTHLM
 
SQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsSQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsMichaela Murray
 
How the Cloud Changes Business Solution Design and Delivery
How the Cloud Changes Business Solution Design and DeliveryHow the Cloud Changes Business Solution Design and Delivery
How the Cloud Changes Business Solution Design and DeliverySPC Adriatics
 
Serverless: The future of application delivery
Serverless: The future of application deliveryServerless: The future of application delivery
Serverless: The future of application deliveryDoug Vanderweide
 
Sitecore User Group: Session State and Sitecore xDB
Sitecore User Group: Session State and Sitecore xDB Sitecore User Group: Session State and Sitecore xDB
Sitecore User Group: Session State and Sitecore xDB nonlinear creations
 
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site ReviewECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site ReviewKenny Buntinx
 
20090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp0220090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp02Vinamra Mittal
 
Building better SQL Server Databases
Building better SQL Server DatabasesBuilding better SQL Server Databases
Building better SQL Server DatabasesColdFusionConference
 
A Quick Guide to Sql Server Availability Groups
A Quick Guide to Sql Server Availability GroupsA Quick Guide to Sql Server Availability Groups
A Quick Guide to Sql Server Availability GroupsPio Balistoy
 

What's hot (20)

SQL SERVER DBA MARK
SQL SERVER DBA MARKSQL SERVER DBA MARK
SQL SERVER DBA MARK
 
SQL Server Database as a Cloud Service
SQL Server Database as a Cloud ServiceSQL Server Database as a Cloud Service
SQL Server Database as a Cloud Service
 
Couchbase Chennai meetup #3 What's new in Couchbase Server & Couchbase Mobile
Couchbase Chennai meetup #3  What's new in Couchbase Server & Couchbase MobileCouchbase Chennai meetup #3  What's new in Couchbase Server & Couchbase Mobile
Couchbase Chennai meetup #3 What's new in Couchbase Server & Couchbase Mobile
 
Cloud migrations Experiences from the Field
Cloud migrations Experiences from the FieldCloud migrations Experiences from the Field
Cloud migrations Experiences from the Field
 
02 hosting servicesinwindowsazure
02 hosting servicesinwindowsazure02 hosting servicesinwindowsazure
02 hosting servicesinwindowsazure
 
Lac portfolio
Lac portfolioLac portfolio
Lac portfolio
 
Migrating with Debezium
Migrating with DebeziumMigrating with Debezium
Migrating with Debezium
 
Toad for Sybase Datasheet
Toad for Sybase DatasheetToad for Sybase Datasheet
Toad for Sybase Datasheet
 
Couchbase overview033113long
Couchbase overview033113longCouchbase overview033113long
Couchbase overview033113long
 
Geek Sync | Taking Your First Steps to the Cloud—Building a Hybrid Model
Geek Sync | Taking Your First Steps to the Cloud—Building a Hybrid ModelGeek Sync | Taking Your First Steps to the Cloud—Building a Hybrid Model
Geek Sync | Taking Your First Steps to the Cloud—Building a Hybrid Model
 
Deploy Office Web Apps Server 2013 in Azure
Deploy Office Web Apps Server 2013 in AzureDeploy Office Web Apps Server 2013 in Azure
Deploy Office Web Apps Server 2013 in Azure
 
SQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT SolutionsSQL Server 2019 hotlap - WARDY IT Solutions
SQL Server 2019 hotlap - WARDY IT Solutions
 
Scalable web architecture
Scalable web architectureScalable web architecture
Scalable web architecture
 
How the Cloud Changes Business Solution Design and Delivery
How the Cloud Changes Business Solution Design and DeliveryHow the Cloud Changes Business Solution Design and Delivery
How the Cloud Changes Business Solution Design and Delivery
 
Serverless: The future of application delivery
Serverless: The future of application deliveryServerless: The future of application delivery
Serverless: The future of application delivery
 
Sitecore User Group: Session State and Sitecore xDB
Sitecore User Group: Session State and Sitecore xDB Sitecore User Group: Session State and Sitecore xDB
Sitecore User Group: Session State and Sitecore xDB
 
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site ReviewECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review
 
20090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp0220090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp02
 
Building better SQL Server Databases
Building better SQL Server DatabasesBuilding better SQL Server Databases
Building better SQL Server Databases
 
A Quick Guide to Sql Server Availability Groups
A Quick Guide to Sql Server Availability GroupsA Quick Guide to Sql Server Availability Groups
A Quick Guide to Sql Server Availability Groups
 

Similar to Scaling Up and Out Your Virtualized SQL Servers

Scaling Up and Out your Virtualized SQL Servers
Scaling Up and Out your Virtualized SQL ServersScaling Up and Out your Virtualized SQL Servers
Scaling Up and Out your Virtualized SQL Serversheraflux
 
Scaling Cloud Web & Data Technologies
Scaling Cloud Web & Data TechnologiesScaling Cloud Web & Data Technologies
Scaling Cloud Web & Data TechnologiesAnant Corporation
 
Performance Tuning Azure SQL Database
Performance Tuning Azure SQL DatabasePerformance Tuning Azure SQL Database
Performance Tuning Azure SQL DatabaseGrant Fritchey
 
Sql dba 2008 r2 online training
Sql dba 2008 r2 online trainingSql dba 2008 r2 online training
Sql dba 2008 r2 online trainingsssql
 
Denver SQL Saturday The Next Frontier
Denver SQL Saturday The Next FrontierDenver SQL Saturday The Next Frontier
Denver SQL Saturday The Next FrontierKellyn Pot'Vin-Gorman
 
Geek Sync | Locating and Resolving Common Database Performance Issues in Micr...
Geek Sync | Locating and Resolving Common Database Performance Issues in Micr...Geek Sync | Locating and Resolving Common Database Performance Issues in Micr...
Geek Sync | Locating and Resolving Common Database Performance Issues in Micr...IDERA Software
 
Migrating Data and Databases to Azure
Migrating Data and Databases to AzureMigrating Data and Databases to Azure
Migrating Data and Databases to AzureKaren Lopez
 
Professional sql server dba online training
Professional sql server dba online trainingProfessional sql server dba online training
Professional sql server dba online trainingsssql
 
CCI2017 - Considerations for Migrating Databases to Azure - Gianluca Sartori
CCI2017 - Considerations for Migrating Databases to Azure - Gianluca SartoriCCI2017 - Considerations for Migrating Databases to Azure - Gianluca Sartori
CCI2017 - Considerations for Migrating Databases to Azure - Gianluca Sartoriwalk2talk srl
 
Tech-Spark: Azure SQL Databases
Tech-Spark: Azure SQL DatabasesTech-Spark: Azure SQL Databases
Tech-Spark: Azure SQL DatabasesRalph Attard
 
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at Databricks
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at DatabricksLessons from Building Large-Scale, Multi-Cloud, SaaS Software at Databricks
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at DatabricksDatabricks
 
Sql server 2012 dba online training
Sql server 2012 dba online trainingSql server 2012 dba online training
Sql server 2012 dba online trainingsqlmasters
 
Windows Azure: Lessons From the Field
Windows Azure: Lessons From the FieldWindows Azure: Lessons From the Field
Windows Azure: Lessons From the FieldMichael Collier
 
Database projects within visual studio
Database projects within visual studioDatabase projects within visual studio
Database projects within visual studioRonnie Hicks
 
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. NielsenJ1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. NielsenMS Cloud Summit
 

Similar to Scaling Up and Out Your Virtualized SQL Servers (20)

Scaling Up and Out your Virtualized SQL Servers
Scaling Up and Out your Virtualized SQL ServersScaling Up and Out your Virtualized SQL Servers
Scaling Up and Out your Virtualized SQL Servers
 
Scaling Cloud Web & Data Technologies
Scaling Cloud Web & Data TechnologiesScaling Cloud Web & Data Technologies
Scaling Cloud Web & Data Technologies
 
Copy Data Management for the DBA
Copy Data Management for the DBACopy Data Management for the DBA
Copy Data Management for the DBA
 
Database Schema Management & Deployment using SQL Server Data Tools (SSDT)
Database Schema Management & Deployment using SQL Server Data Tools (SSDT)Database Schema Management & Deployment using SQL Server Data Tools (SSDT)
Database Schema Management & Deployment using SQL Server Data Tools (SSDT)
 
Extending your data to the cloud
Extending your data to the cloudExtending your data to the cloud
Extending your data to the cloud
 
Performance Tuning Azure SQL Database
Performance Tuning Azure SQL DatabasePerformance Tuning Azure SQL Database
Performance Tuning Azure SQL Database
 
Sql dba 2008 r2 online training
Sql dba 2008 r2 online trainingSql dba 2008 r2 online training
Sql dba 2008 r2 online training
 
Manageability Enhancements of SQL Server 2012
Manageability Enhancements of SQL Server 2012Manageability Enhancements of SQL Server 2012
Manageability Enhancements of SQL Server 2012
 
Denver SQL Saturday The Next Frontier
Denver SQL Saturday The Next FrontierDenver SQL Saturday The Next Frontier
Denver SQL Saturday The Next Frontier
 
Geek Sync | Locating and Resolving Common Database Performance Issues in Micr...
Geek Sync | Locating and Resolving Common Database Performance Issues in Micr...Geek Sync | Locating and Resolving Common Database Performance Issues in Micr...
Geek Sync | Locating and Resolving Common Database Performance Issues in Micr...
 
Continuous database deployment
Continuous database deploymentContinuous database deployment
Continuous database deployment
 
Migrating Data and Databases to Azure
Migrating Data and Databases to AzureMigrating Data and Databases to Azure
Migrating Data and Databases to Azure
 
Professional sql server dba online training
Professional sql server dba online trainingProfessional sql server dba online training
Professional sql server dba online training
 
CCI2017 - Considerations for Migrating Databases to Azure - Gianluca Sartori
CCI2017 - Considerations for Migrating Databases to Azure - Gianluca SartoriCCI2017 - Considerations for Migrating Databases to Azure - Gianluca Sartori
CCI2017 - Considerations for Migrating Databases to Azure - Gianluca Sartori
 
Tech-Spark: Azure SQL Databases
Tech-Spark: Azure SQL DatabasesTech-Spark: Azure SQL Databases
Tech-Spark: Azure SQL Databases
 
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at Databricks
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at DatabricksLessons from Building Large-Scale, Multi-Cloud, SaaS Software at Databricks
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at Databricks
 
Sql server 2012 dba online training
Sql server 2012 dba online trainingSql server 2012 dba online training
Sql server 2012 dba online training
 
Windows Azure: Lessons From the Field
Windows Azure: Lessons From the FieldWindows Azure: Lessons From the Field
Windows Azure: Lessons From the Field
 
Database projects within visual studio
Database projects within visual studioDatabase projects within visual studio
Database projects within visual studio
 
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. NielsenJ1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
J1 T1 3 - Azure Data Lake store & analytics 101 - Kenneth M. Nielsen
 

Recently uploaded

From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一F La
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfPredicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfBoston Institute of Analytics
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 

Recently uploaded (20)

From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfPredicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 

Scaling Up and Out Your Virtualized SQL Servers

  • 1. Scaling Up and Out Your Virtualized SQL Servers #devconnections
  • 2. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS About Ben DeBow • CEO Fortified Data • Working with SQL Server for 20yrs • Author, speaker, and consultant focusing on Performance, Scalability, and Availability • E-mail: bdebow@fortifieddb.com • Twitter: @BBQSQL • Web/Blog: http://www.fortifieddb.com #devconnections
  • 3. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS About David Klee #devconnections @kleegeek davidklee.net gplus.to/kleegeek linked.com/a/davidaklee Specialties / Focus Areas / Passions: • Performance Tuning • Virtualization • Infrastructure • Troubleshooting • High Availability • Disaster Recovery • Capacity Management • Health & Efficiency
  • 4. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Agenda • Scale Out vs. Scale Up • Scale In • “Right-Sizing” • Efficiency • Workload characteristics #devconnections
  • 5. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Scalability • Scale up = vertical scaling • Vertical scaling = single instance faster • Horizontal – Data dependent routing – Read Only Replicas – Peer to Peer Replication #devconnections
  • 6. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Scale Out vs. Scale Up • Age-old problem • One server to thousands • Now introduce virtualization #devconnections
  • 7. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Scale Up PROS • Single system / app distribution • Faster & quicker CONS • Single server bottlenecks • Scalability limits • Internal SQL Server contention • More expensive hardware #devconnections
  • 8. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Scale Out PROS • Separation of workloads • Smaller VMs • More agile VMs • Load balance • Outages impact less CONS • Licensing • Management • Day-to-day operations • Complexity #devconnections
  • 9. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Scale IN First • Efficiency, health, and bottleneck analysis • Limited upsides to more hardware • Performance gains without more resources #devconnections
  • 10. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Bottleneck Analysis • Underneath the VM • VM config and placement • SQL Server instance • SQL Server database • Determine tipping points #devconnections
  • 11. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS VM Configuration • Start with gold certified template • Adjust resources • One size does not fit all #devconnections
  • 12. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS “Right-Sizing” • What? How? • Resource allocations – What is needed now • Type of workload • vNUMA #devconnections
  • 13. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Leverage VM Infrastructure • VM proximity #devconnections
  • 14. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Leverage VM Infrastructure • Transparent SSD read caching – Per vDisk #devconnections SSD SAN LUN LUN
  • 15. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Priority Tiers • Mission-critical production vs. everything else • Tier / prioritize resource queues • Separation of tiers #devconnections
  • 16. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Add Hardware • Faster CPUs / more cores • More RAM • Faster storage (IOps / latency) • Faster / more interconnects – Storage fabric – Networking #devconnections
  • 17. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Efficiency - Concurrency • Locking & blocking • Read Committed Snapshot Isolation • Asynchronous handling – Service Broker – SSIS – PoSH #devconnections
  • 18. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Efficiency - Code Review • Schema design • Strongly typed data types • Queries & procedures • App data handling • …. And the list continues forever… #devconnections
  • 19. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Efficiency - CPU • Cores & schedulers • Hyper-Threading • NUMA #devconnections
  • 20. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Efficiency - Memory • Use memory to reduce I/O • Use less memory with better efficiency • Schema & index strategies • Data & index compression • Buffer pool extensions #devconnections
  • 21. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Efficiency - Storage • Goal: reduce I/O consumption • Better distribution of workload – Data files – File groups – Partitions – Virtual disks #devconnections Virtual disks Paths Controllers LUNs
  • 22. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS #devconnections SAN DB E: FG1 FG2 DF4 DF3 DF2 DF1 G: F: WindowsServerOSx Virtualization Hardware HBA4HBA3HBA2HBA1 InterconnectSwitch Controller1Controller2 SANDiskGroup LUN2LUN1 HBA4HBA3HBA2HBA1
  • 23. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Efficiency - Storage • Data / index compression • Indexing strategies • Datatype analysis • In-memory constructs • Buffer pool extensions #devconnections
  • 24. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Segregating Workloads • One VM per purpose • Offload read-only activities – Availability Groups – Replication – Backups • Sharding / data dependent routing #devconnections
  • 25. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Workload Characteristics • Monitoring • Workload performance stat collection – At all layers • Aggregation by host & cluster • Analysis #devconnections
  • 26. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Ongoing Review • Routine “right-sizing” analysis • Capacity analysis & planning • Baselines • What to capture and analyze? #devconnections
  • 27. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS Conclusions • Efficient virtualization • Workload characterization • Bottleneck relief • Long-term management #devconnections
  • 28. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS QUESTIONS? #devconnections
  • 29. SCALING UP AND OUT YOUR VIRTUALIZED SQL SERVERS THANK YOU! #devconnections
  • 30. SESSION TITLE #devconnections Rate This Session Now! Rate with Mobile App: 1. Select the session from the Agenda or Speakers menus 2. Select the Actions tab 3. Click Rate Session Rate Using Our Website: 1. Register at www.devconnections.com/logintoratesession 2. Go to www.devconnections.com/ratesession 3. Select this session from the list and rate it Tell Us What You Thought of This Session Be Entered to WINPrizes!