0% found this document useful (0 votes)
22 views7 pages

6 Query Tuning Introduction m06 Performance Tuning Checklist Slides

This document provides a checklist for performance tuning a SQL Server. It recommends taking a systematic approach of first establishing a baseline, then applying optimizations to a test server before production. Key areas of concern for performance problems are identified. A range of tools are described for proactive monitoring, live debugging, and post-mortem analysis. The process is depicted in a flowchart showing steps to identify and address problems.

Uploaded by

Orcun Iyigun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views7 pages

6 Query Tuning Introduction m06 Performance Tuning Checklist Slides

This document provides a checklist for performance tuning a SQL Server. It recommends taking a systematic approach of first establishing a baseline, then applying optimizations to a test server before production. Key areas of concern for performance problems are identified. A range of tools are described for proactive monitoring, live debugging, and post-mortem analysis. The process is depicted in a flowchart showing steps to identify and address problems.

Uploaded by

Orcun Iyigun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Performance Tuning - Checklist

Pinal Dave
http://blog.sqlauthority.com

Vinod Kumar M
http://blogs.extremeexperts.com
Don’t think
outside the box,
think as if no box exits.
Simple Cyclic process

Baseline Server

Apply on Production
in maintenance Collect Perf Data
window

Script out all Isolate problem code /


Optimizations objects

Optimize for
Apply on a test server workload and
scenario
Areas of concerns

 Severe performance degradation and system crashes


 Slow and resource-intensive queries
 Long-running locks and deadlocks
 Long-running batch jobs
 High-CPU utilization on the server
 Poor cache-hits ratio and memory pressure
 Sub-optimal scalability patterns
 Inefficient use of parallel processing
 Transaction rollbacks and failures
Where to use which tool
 Proactive tools  Post-Mortem
 Profiler Trace / Extended
 SQLDiag
Events
 SQL Error Logs  Perfmon
 PerfMon  Snapshots of DMVs
 SQL Server BPA  PAL
 Live Debugging  Misc
 SQL Wait Stats  SQL Space Map
 SSMS Activity Monitor  SSMS Standard Reports
 Dynamic Management Views  Extended Events
 Performance Dashboard  Database Tuning Advisor
Reports
Start

Proactive Monitoring

Post mortem
NO
Known problem? Decide Approach

Live approachConfiguration

Get Trace files


Perf Dashboard
CPU Perfmon Details
Indexes Problem Complete
Yes

DMV Snapshot
Activity Monitor
Memory

PAL
DMV / SQL Wait Stats
Disk IO

Get Help
Network
DTA Execution Plans Statistics Indexes

http://bit.ly/sql-perf
Summary

 Use an systematic approach


 Performance tuning is all about Planning
 Proactive, Reactive and Live
 Cycle - Monitor, Plan, Implement, Test

Remember: 80%-20% Rule. There are always special cases.

You might also like