SlideShare a Scribd company logo
Large SQL Server Estates
How to manage and monitor them…
Web: www.sqlwatchmen.com
Email: Jim.Murphy@sqlwatchmen.com
Twitter: @SQLMurph
Jim Murphy
CEO
SQLWatchmen, LLC.
Who is SQLWatchmen?
§ DBA Services – performance tuning,
disaster recovery, maintenance
§ SQL Programming - views, SPs, triggers
§ Integration Services - SSIS for trying
systems together
§ Reporting - SSRS for custom analytics
to fill business needs
§ Cloud Migration
§ Tech company in Austin, TX
§ Can serve as Remote / Fractional DBAs
§ SQL Server Specialists (We work alongside
general tech consulting firms)
§ Compliance (HIPAA, SOX, SOC2)
How can we assist you?
2
Only Scratching The Surface
• There is so much we have to skip due to timing.
• Discussing two aspects of large estates:
• Managing
• Monitoring
• We’ll discuss DIY options along the way.
3
WHAT’S ALL
THIS NOISE
TIPS &
TRICKS
PITFALLS &
AVOIDING THEM
CONCLUSION
DEMO
4
5
PITFALLS FOR DBA’S WHEN MANAGING LARGE SQL SERVER ESTATES
Basics - Alerts
Systems Online?
• If not, how are you alerted?
• If SQL Agent stopped, no alerts!
• DIY Solutions.
6
Basics – Estate View
• Dashboard needed!
• DIY Solutions.
• This is a not a small project!
7
Basics - Repository
This is a large ODS/DW like project!
• Collect local data.
• Sweep data to central monitoring repository. (SSIS?)
• Interpret results.
• Make data accessible.
8
Maintenance Issues - Backups
• Are they working?
• Does one instance have backups disabled?
• DIY Solutions.
• Hope. Pray.
9
Maintenance Issues – Disk Space
• Disk Space Danger
• Is daily trigger of >80% good enough?
• Is every 5 mins too much?
• PowerShell?
• Failed jobs or long running jobs
• Email overload.
10
11
Management - Compliance
• Change Control and settings.
• How to ensure no one changes settings?
• How to enforce new instances to follow company standard?
• DIY Solutions.
12
13
14
Performance – Does it really matter?
Problem: Application Hourglasses & Time-outs.
§ The database is the foundation of the entire
application or corporate stack. If the
database is slow…
15
Performance - Waitstats
• Waitstats (sys.dm_os_wait_stats)
• http://download.microsoft.com/download/4/7/a/47a548b9-249e-
484c-abd7-
29f31282b04d/Performance_Tuning_Waits_Queues.doc
• Identify if system bottleneck is:
• CPU
• DISK
• MEMORY
• NETWORK
• … Then locate queries consuming those resources and tune them.
16
Performance - Perfmon
• What to monitor in Perfmon.exe (Performance Monitor):
• Processor - % Processor Time.
• System – Processor Queue Depth.
• SQL Statistics - Batch Requests/s. (throughput).
• SQL Statistics – Compilations and Recompilations.
• Memory Manager – Memory Grants Pending
• Physical Disk – Avg. Disk Sec/Read and /Write.
• Network Interface – Bytes Total/sec.
• What NOT to monitor
• PLE < 300
• Disk Queue Length
17
Performance - Queries
• Find queries consuming most of the resources.
• Query is a long query and I can’t paste it here. If you want it, go to
https://www.sqlwatchmen.com/contact-us and let me know you
want the “worst query” script and I’ll send it to you.
18
Demo
19
PRO TIP
Pay attention to data collection FREQUENCY. If your
average is over 1 min while SAN Admin’s average is over 1
hour, they may not see the spikes you report.
[ ]
What you see What they see
20
Performance Solutions
DIY: How to do this across 100 SQL Servers?
• Daily job/email?
• Job to save query results to local tables.
• Sweep changes to central server.
• Baseline – What is normal?
• Performance Dashboard Reports (add-in to SSMS).
21
22
WHAT IS NOISE AND HOW TO AVOID IT
23
Noisy SQL Servers
Alerts must be:
• Actionable.
• As infrequent as possible.
Using a service can help:
• PagerDuty (integrates with Jira/others).
• SQLWatchmen uses OpsGenie and Redmine.
24
Conclusion
Managing lots of SQL Server installs:
• There are some great Enterprise tools PBM/CMS/PowerShell.
Monitoring lots of SQL Server installs:
• DIY is complicated.
• DIY is the right choice for some.
• For everyone else:
• Monitoring software solves these problems!
25
26
Build Buy
Large SQL Server Estates
How to manage and monitor them…
Web: www.sqlwatchmen.com
Email: Jim.Murphy@sqlwatchmen.com
Twitter: @SQLMurph
Jim Murphy
CEO
SQLWatchmen, LLC.
Thank You!

More Related Content

What's hot (16)

PPTX
Site reliability engineering - Lightning Talk
Michae Blakeney
 
PPTX
Does your computer run slow
James Norfleet
 
PDF
Managing software projects & teams effectively
Ashutosh Agarwal
 
PDF
Goal Driven Performance Optimization, Peter Zaitsev
Fuenteovejuna
 
PDF
SRE Demystified - 05 - Toil Elimination
Dr Ganesh Iyer
 
PPSX
IT-SCGC
Mohamed Salah
 
PDF
Standups
Sriram Narayanan
 
PPTX
Ten Years of DITA: Are We There Yet?
Salesforce Engineering
 
DOCX
Ravi Kumar N_ VMware with 3.8 years
Ravi Kumar N
 
PDF
SRE Demystified - 14 - SRE Practices overview
Dr Ganesh Iyer
 
PDF
Everything you do is wrong
Abhaya Chauhan
 
PPTX
forLoop: Scaling For The Next Billion
Omoloro Oyegoke
 
PPTX
DevOps and Performance - Why, How and Best Practices - DevOps Meetup Sydney
Andreas Grabner
 
PDF
Albert Witteveen - With Cloud Computing Who Needs Performance Testing
TEST Huddle
 
PPTX
Site (Service) Reliability Engineering
Mark Underwood
 
Site reliability engineering - Lightning Talk
Michae Blakeney
 
Does your computer run slow
James Norfleet
 
Managing software projects & teams effectively
Ashutosh Agarwal
 
Goal Driven Performance Optimization, Peter Zaitsev
Fuenteovejuna
 
SRE Demystified - 05 - Toil Elimination
Dr Ganesh Iyer
 
IT-SCGC
Mohamed Salah
 
Ten Years of DITA: Are We There Yet?
Salesforce Engineering
 
Ravi Kumar N_ VMware with 3.8 years
Ravi Kumar N
 
SRE Demystified - 14 - SRE Practices overview
Dr Ganesh Iyer
 
Everything you do is wrong
Abhaya Chauhan
 
forLoop: Scaling For The Next Billion
Omoloro Oyegoke
 
DevOps and Performance - Why, How and Best Practices - DevOps Meetup Sydney
Andreas Grabner
 
Albert Witteveen - With Cloud Computing Who Needs Performance Testing
TEST Huddle
 
Site (Service) Reliability Engineering
Mark Underwood
 

Similar to How to manage and monitor large sql server estates (20)

PPT
EM12c Monitoring, Metric Extensions and Performance Pages
Enkitec
 
PDF
Ioug oow12 em12c
Kellyn Pot'Vin-Gorman
 
PDF
SharePoint Performance Monitoring with Sean P. McDonough
Gabrijela Orsag
 
PDF
Sql server tips from the field
JoAnna Cheshire
 
PDF
Geek Sync | Planning a SQL Server to Azure Migration in 2021 - Brent Ozar
IDERA Software
 
PPTX
Sql Server tips from the field
InnoTech
 
PDF
IBM Connect 2017: Back from the Dead: When Bad Code Kills a Good Server
Serdar Basegmez
 
PPTX
Common SQL Server Mistakes and How to Avoid Them with Tim Radney
Embarcadero Technologies
 
PPTX
Top 10 DBA Mistakes on Microsoft SQL Server
Kevin Kline
 
PDF
Adding Value in the Cloud with Performance Test
Rodolfo Kohn
 
PPTX
Concurrent Processing Performance Analysis for Apps DBAs
Maris Elsins
 
PPTX
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
SolarWinds
 
PPT
MySQL Performance Tuning at COSCUP 2014
Ryusuke Kajiyama
 
PDF
Back from the Dead: When Bad Code Kills a Good Server
Teamstudio
 
PDF
Silicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
Daniel Coupal
 
PDF
collab2011-tuning-ebusiness-421966.pdf
ElboulmaniMohamed
 
PPTX
Top 5 Java Performance Metrics, Tips & Tricks
AppDynamics
 
PDF
Flopsar tesacom-technical-introduction v1a-eng
Marcelo Marinangeli
 
PPT
Collaborate 2011-tuning-ebusiness-416502
kaziul Islam Bulbul
 
PDF
Performance tuning intro
aioughydchapter
 
EM12c Monitoring, Metric Extensions and Performance Pages
Enkitec
 
Ioug oow12 em12c
Kellyn Pot'Vin-Gorman
 
SharePoint Performance Monitoring with Sean P. McDonough
Gabrijela Orsag
 
Sql server tips from the field
JoAnna Cheshire
 
Geek Sync | Planning a SQL Server to Azure Migration in 2021 - Brent Ozar
IDERA Software
 
Sql Server tips from the field
InnoTech
 
IBM Connect 2017: Back from the Dead: When Bad Code Kills a Good Server
Serdar Basegmez
 
Common SQL Server Mistakes and How to Avoid Them with Tim Radney
Embarcadero Technologies
 
Top 10 DBA Mistakes on Microsoft SQL Server
Kevin Kline
 
Adding Value in the Cloud with Performance Test
Rodolfo Kohn
 
Concurrent Processing Performance Analysis for Apps DBAs
Maris Elsins
 
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
SolarWinds
 
MySQL Performance Tuning at COSCUP 2014
Ryusuke Kajiyama
 
Back from the Dead: When Bad Code Kills a Good Server
Teamstudio
 
Silicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
Daniel Coupal
 
collab2011-tuning-ebusiness-421966.pdf
ElboulmaniMohamed
 
Top 5 Java Performance Metrics, Tips & Tricks
AppDynamics
 
Flopsar tesacom-technical-introduction v1a-eng
Marcelo Marinangeli
 
Collaborate 2011-tuning-ebusiness-416502
kaziul Islam Bulbul
 
Performance tuning intro
aioughydchapter
 
Ad

More from Red Gate Software (20)

PDF
The future of DevOps: fully left-shifted deployments with version control and...
Red Gate Software
 
PDF
Embracing DevOps through database migrations with Flyway
Red Gate Software
 
PPTX
Database DevOps for Managed Service Providers
Red Gate Software
 
PDF
Mizuho Financial: Launching our Database DevOps journey
Red Gate Software
 
PDF
7 steps to effective SQL Server monitoring
Red Gate Software
 
PDF
Level up your deployments for SQL Source Control
Red Gate Software
 
PDF
Key findings from the 2020 state of database dev ops report
Red Gate Software
 
PPTX
Extend DevOps to Your SQL Server Databases
Red Gate Software
 
PDF
2019 year in review slides
Red Gate Software
 
PPTX
What we learned at PASS Summit in 2019
Red Gate Software
 
PPTX
Quality in Software Development: Anglia Ruskin University
Red Gate Software
 
PPTX
How SQL Change Automation helps you deliver value faster
Red Gate Software
 
PPTX
DevOps essentials from Abel Wang and Steve Jones
Red Gate Software
 
PPTX
Successfully migrating existing databases to Azure
Red Gate Software
 
PPTX
The Ultimate Guide to Choosing and Implementing the Right Monitoring Tool
Red Gate Software
 
PDF
Everything You Need to Know About the 2019 DORA Accelerate State of DevOps Re...
Red Gate Software
 
PDF
Using Redgate, AKS and Azure to bring DevOps to your database
Red Gate Software
 
PDF
Using Redgate, AKS and Azure to bring DevOps to your Database
Red Gate Software
 
PDF
How to Pitch a Software Development Initiative and Ignite Culture Change
Red Gate Software
 
PDF
Taming the Wild West
Red Gate Software
 
The future of DevOps: fully left-shifted deployments with version control and...
Red Gate Software
 
Embracing DevOps through database migrations with Flyway
Red Gate Software
 
Database DevOps for Managed Service Providers
Red Gate Software
 
Mizuho Financial: Launching our Database DevOps journey
Red Gate Software
 
7 steps to effective SQL Server monitoring
Red Gate Software
 
Level up your deployments for SQL Source Control
Red Gate Software
 
Key findings from the 2020 state of database dev ops report
Red Gate Software
 
Extend DevOps to Your SQL Server Databases
Red Gate Software
 
2019 year in review slides
Red Gate Software
 
What we learned at PASS Summit in 2019
Red Gate Software
 
Quality in Software Development: Anglia Ruskin University
Red Gate Software
 
How SQL Change Automation helps you deliver value faster
Red Gate Software
 
DevOps essentials from Abel Wang and Steve Jones
Red Gate Software
 
Successfully migrating existing databases to Azure
Red Gate Software
 
The Ultimate Guide to Choosing and Implementing the Right Monitoring Tool
Red Gate Software
 
Everything You Need to Know About the 2019 DORA Accelerate State of DevOps Re...
Red Gate Software
 
Using Redgate, AKS and Azure to bring DevOps to your database
Red Gate Software
 
Using Redgate, AKS and Azure to bring DevOps to your Database
Red Gate Software
 
How to Pitch a Software Development Initiative and Ignite Culture Change
Red Gate Software
 
Taming the Wild West
Red Gate Software
 
Ad

Recently uploaded (20)

PDF
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PPTX
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PPTX
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
Tally software_Introduction_Presentation
AditiBansal54083
 

How to manage and monitor large sql server estates

  • 1. Large SQL Server Estates How to manage and monitor them… Web: www.sqlwatchmen.com Email: [email protected] Twitter: @SQLMurph Jim Murphy CEO SQLWatchmen, LLC.
  • 2. Who is SQLWatchmen? § DBA Services – performance tuning, disaster recovery, maintenance § SQL Programming - views, SPs, triggers § Integration Services - SSIS for trying systems together § Reporting - SSRS for custom analytics to fill business needs § Cloud Migration § Tech company in Austin, TX § Can serve as Remote / Fractional DBAs § SQL Server Specialists (We work alongside general tech consulting firms) § Compliance (HIPAA, SOX, SOC2) How can we assist you? 2
  • 3. Only Scratching The Surface • There is so much we have to skip due to timing. • Discussing two aspects of large estates: • Managing • Monitoring • We’ll discuss DIY options along the way. 3
  • 4. WHAT’S ALL THIS NOISE TIPS & TRICKS PITFALLS & AVOIDING THEM CONCLUSION DEMO 4
  • 5. 5 PITFALLS FOR DBA’S WHEN MANAGING LARGE SQL SERVER ESTATES
  • 6. Basics - Alerts Systems Online? • If not, how are you alerted? • If SQL Agent stopped, no alerts! • DIY Solutions. 6
  • 7. Basics – Estate View • Dashboard needed! • DIY Solutions. • This is a not a small project! 7
  • 8. Basics - Repository This is a large ODS/DW like project! • Collect local data. • Sweep data to central monitoring repository. (SSIS?) • Interpret results. • Make data accessible. 8
  • 9. Maintenance Issues - Backups • Are they working? • Does one instance have backups disabled? • DIY Solutions. • Hope. Pray. 9
  • 10. Maintenance Issues – Disk Space • Disk Space Danger • Is daily trigger of >80% good enough? • Is every 5 mins too much? • PowerShell? • Failed jobs or long running jobs • Email overload. 10
  • 11. 11
  • 12. Management - Compliance • Change Control and settings. • How to ensure no one changes settings? • How to enforce new instances to follow company standard? • DIY Solutions. 12
  • 13. 13
  • 14. 14
  • 15. Performance – Does it really matter? Problem: Application Hourglasses & Time-outs. § The database is the foundation of the entire application or corporate stack. If the database is slow… 15
  • 16. Performance - Waitstats • Waitstats (sys.dm_os_wait_stats) • http://download.microsoft.com/download/4/7/a/47a548b9-249e- 484c-abd7- 29f31282b04d/Performance_Tuning_Waits_Queues.doc • Identify if system bottleneck is: • CPU • DISK • MEMORY • NETWORK • … Then locate queries consuming those resources and tune them. 16
  • 17. Performance - Perfmon • What to monitor in Perfmon.exe (Performance Monitor): • Processor - % Processor Time. • System – Processor Queue Depth. • SQL Statistics - Batch Requests/s. (throughput). • SQL Statistics – Compilations and Recompilations. • Memory Manager – Memory Grants Pending • Physical Disk – Avg. Disk Sec/Read and /Write. • Network Interface – Bytes Total/sec. • What NOT to monitor • PLE < 300 • Disk Queue Length 17
  • 18. Performance - Queries • Find queries consuming most of the resources. • Query is a long query and I can’t paste it here. If you want it, go to https://www.sqlwatchmen.com/contact-us and let me know you want the “worst query” script and I’ll send it to you. 18
  • 20. PRO TIP Pay attention to data collection FREQUENCY. If your average is over 1 min while SAN Admin’s average is over 1 hour, they may not see the spikes you report. [ ] What you see What they see 20
  • 21. Performance Solutions DIY: How to do this across 100 SQL Servers? • Daily job/email? • Job to save query results to local tables. • Sweep changes to central server. • Baseline – What is normal? • Performance Dashboard Reports (add-in to SSMS). 21
  • 22. 22 WHAT IS NOISE AND HOW TO AVOID IT
  • 23. 23
  • 24. Noisy SQL Servers Alerts must be: • Actionable. • As infrequent as possible. Using a service can help: • PagerDuty (integrates with Jira/others). • SQLWatchmen uses OpsGenie and Redmine. 24
  • 25. Conclusion Managing lots of SQL Server installs: • There are some great Enterprise tools PBM/CMS/PowerShell. Monitoring lots of SQL Server installs: • DIY is complicated. • DIY is the right choice for some. • For everyone else: • Monitoring software solves these problems! 25
  • 27. Large SQL Server Estates How to manage and monitor them… Web: www.sqlwatchmen.com Email: [email protected] Twitter: @SQLMurph Jim Murphy CEO SQLWatchmen, LLC. Thank You!