PeoplewareIndia.com | BlogBoard.in | WeTogether.in
SQL Server Profiler &Performance Monitor
By
Sarabpreet SinghMCTS, MCITP: Admin, MCT
PeoplewareIndia.com | BlogBoard.in | WeTogether.in
5+ Years of enriched experience Working in Wipro Ltd. as Sr. SQL Server DBA Conducted more than 25 SQL Server Boot camp Trainings across India. Expert in handling VLDBs & Disaster Management. Got MCTS, MCITP: Admin, MCT certification Owner & Co-Founder of Solutions-Guru.com Regional Mentor - SQLServerGeeks.com
Sarabpreet Singh
PeoplewareIndia.com | BlogBoard.in | WeTogether.in
Overview
Are you facing Performance Issues?
Need for Monitoring Tools
Intro to SQL Server Profiler & PerfMon.
What to use When?
How to Sync SQL Profiler result with PerfMon?
Best Practices.
PeoplewareIndia.com | BlogBoard.in | WeTogether.in
Performance Issues
Bad written queriesBad written queries11
DB designDB design33
Etc.Etc.44
Disk IssueDisk Issue22
Multiple Reasons Like:
PeoplewareIndia.com | BlogBoard.in | WeTogether.in
Do we actually need Monitoring?
Gartner Research on DB Performance Issues
Performance issues Reason
80% Poor Coded SQL Statements
15% Bad Database Design5% Inadequate Hardware Configurations
•Whereas, People focus more on adding H\w, creating Indexes etc.
PeoplewareIndia.com | BlogBoard.in | WeTogether.in
Performance Monitor
•Monitor overall resource consumption.
•Wonderful tool to create baseline
•Identify resource bottleneck
•Can be scheduled
•etc
PeoplewareIndia.com | BlogBoard.in | WeTogether.in
SQL Server Profiler
•Identify SQL Statements causing issues.
•Keeps a track of every SQL event.
•Track acc. to your need.
•Can be scheduled
•Etc.
PeoplewareIndia.com | BlogBoard.in | WeTogether.in
Synchronization between SQL Profiler & PerfMon
•New feature introduced in SQL Server 2005
•Sync Both results automatically
•Good for analysis
•Can isolate the problem
•Etc.
PeoplewareIndia.com | BlogBoard.in | WeTogether.in
Let’s have a look on
SQL Server Profiler
Performance Monitor
Diff Features and options available
How to Customize
What to use & When?
Some Best Practices for both tools.
How to Sync PerfMon results with Profiler
PeoplewareIndia.com | BlogBoard.in | WeTogether.in
Summary
Proper monitoring and creating a base-line are the key factors to troubleshoot performance issues.
PeoplewareIndia.com | BlogBoard.in | WeTogether.in
PeoplewareIndia.com | BlogBoard.in | WeTogether.in
Thank you
for suggestions, please email at [email protected]@sqlservergeeks.com
[email protected]://sqlservergeeks.com | http://wetogether.in
http://slideshare.net/rishumehrahttp://twitter.com/rishumehra