what sql server performance - redgate · why monitor sql server? • understand the bad thing that...
TRANSCRIPT
![Page 1: What SQL Server Performance - Redgate · Why Monitor SQL Server? • Understand the bad thing that is happening now…or just happened • Know about those bad things before the phone](https://reader030.vdocuments.mx/reader030/viewer/2022040914/5e8bee710afde42abf5bb288/html5/thumbnails/1.jpg)
![Page 2: What SQL Server Performance - Redgate · Why Monitor SQL Server? • Understand the bad thing that is happening now…or just happened • Know about those bad things before the phone](https://reader030.vdocuments.mx/reader030/viewer/2022040914/5e8bee710afde42abf5bb288/html5/thumbnails/2.jpg)
What SQL Server Performance
Metrics Should You Monitor?
Kathi Kellenberger
Redgate Software
![Page 4: What SQL Server Performance - Redgate · Why Monitor SQL Server? • Understand the bad thing that is happening now…or just happened • Know about those bad things before the phone](https://reader030.vdocuments.mx/reader030/viewer/2022040914/5e8bee710afde42abf5bb288/html5/thumbnails/4.jpg)
Why Monitor SQL Server?
• Understand the bad thing that is happening now…or just happened
• Know about those bad things before the phone rings!
• Predict problems
• Ensure good performance
• Resource planning
![Page 5: What SQL Server Performance - Redgate · Why Monitor SQL Server? • Understand the bad thing that is happening now…or just happened • Know about those bad things before the phone](https://reader030.vdocuments.mx/reader030/viewer/2022040914/5e8bee710afde42abf5bb288/html5/thumbnails/5.jpg)
What to Monitor?
Server
Instance
Database
Query
![Page 6: What SQL Server Performance - Redgate · Why Monitor SQL Server? • Understand the bad thing that is happening now…or just happened • Know about those bad things before the phone](https://reader030.vdocuments.mx/reader030/viewer/2022040914/5e8bee710afde42abf5bb288/html5/thumbnails/6.jpg)
Server
• Status – offline?
• Errors
• Physical resources
• CPU utilization
• I/O utilization
• Memory utilization
![Page 7: What SQL Server Performance - Redgate · Why Monitor SQL Server? • Understand the bad thing that is happening now…or just happened • Know about those bad things before the phone](https://reader030.vdocuments.mx/reader030/viewer/2022040914/5e8bee710afde42abf5bb288/html5/thumbnails/7.jpg)
Instance• Status – offline?
• Errors & alerts
• Physical resources
• Memory
• Blocking
• Workload
• Waits
![Page 8: What SQL Server Performance - Redgate · Why Monitor SQL Server? • Understand the bad thing that is happening now…or just happened • Know about those bad things before the phone](https://reader030.vdocuments.mx/reader030/viewer/2022040914/5e8bee710afde42abf5bb288/html5/thumbnails/8.jpg)
Database
• Status – online?
• Backups
• Maintenance (index, stats, etc.)
• Growth
• Workload
![Page 9: What SQL Server Performance - Redgate · Why Monitor SQL Server? • Understand the bad thing that is happening now…or just happened • Know about those bad things before the phone](https://reader030.vdocuments.mx/reader030/viewer/2022040914/5e8bee710afde42abf5bb288/html5/thumbnails/9.jpg)
Query
• Most frequent
• Most I/O
• Lonest running
• Most important
• Index tuning
![Page 10: What SQL Server Performance - Redgate · Why Monitor SQL Server? • Understand the bad thing that is happening now…or just happened • Know about those bad things before the phone](https://reader030.vdocuments.mx/reader030/viewer/2022040914/5e8bee710afde42abf5bb288/html5/thumbnails/10.jpg)
Past Behavior
• What happened yesterday/last week/last month
• Baselines
• Trends
• “Those who do not learn from
history are doomed to repeat it.”
![Page 11: What SQL Server Performance - Redgate · Why Monitor SQL Server? • Understand the bad thing that is happening now…or just happened • Know about those bad things before the phone](https://reader030.vdocuments.mx/reader030/viewer/2022040914/5e8bee710afde42abf5bb288/html5/thumbnails/11.jpg)
Predict Future Behavior
• Using trends
• Tracking growth over time
• Communicate with the business
• Understand the business
![Page 12: What SQL Server Performance - Redgate · Why Monitor SQL Server? • Understand the bad thing that is happening now…or just happened • Know about those bad things before the phone](https://reader030.vdocuments.mx/reader030/viewer/2022040914/5e8bee710afde42abf5bb288/html5/thumbnails/12.jpg)
Tools• Perfmon
• Trace (deprecated)
• Extended Events
• DMVs and system views
• Query Store
• 3rd Party
![Page 13: What SQL Server Performance - Redgate · Why Monitor SQL Server? • Understand the bad thing that is happening now…or just happened • Know about those bad things before the phone](https://reader030.vdocuments.mx/reader030/viewer/2022040914/5e8bee710afde42abf5bb288/html5/thumbnails/13.jpg)
Demo