Module 3 SQL Server Tools - 3 - Performance Tools - Perfmon and PAL
Module 3 SQL Server Tools - 3 - Performance Tools - Perfmon and PAL
Services
SQL Server
Performance Tuning and
Optimization
SQL Server Tools -
Performance Tools
Performance Monitor
and Performance
Analysis of Logs (PAL)
Microsoft
Services
Lesson Objectives
• In this Lesson you will learn the following:
• SQL Server Management Studio (SSMS) Performance Tools
• Extended Events
• Performance Tools
• Other Performance Tools
• Tuning Methods
SQL Server Management
Studio (SSMS) Performance
Tools
Introduction to
Performance Monitor (perfmon)
Introduction
• Perfmon is a GUI tool to
monitor system resources
(memory, CPU, IO, network)
• Graphs are useful for real-
time monitoring
• Logs are useful for
extended monitoring and
off-site analysis
• Objects to monitor:
Memory, process,
processor, physical disk,
logical disk, and some SQL
Server objects
Leveraging Perfmon
• Performance Monitor (perfmon) is often used without
options when opening a .csv or .blg file or for active
monitoring
• Perfmon can be viewed as a Line Graph (Default),
Histogram bar, or a Report
• The perfmon output can be printed or saved as an
HTML Document / Report (.tsv)
• Key extended perfmon capabilities:
• ‘Connect to another computer ‘– Windows Core, Central Monitoring
Station
• Creating a Custom Data Collector Set – Leveraging existing perfmon
templates, Creating / Viewing User and System Diagnostic and
Performance Reports
Creating Perfmon Collections
• Output to a .CSV or .BLG file
• Can be re-opened in Perfmon for further analysis
• Can be passed to Performance Analysis of Logs (PAL) for analysis
• When analyzing in perfmon, use Report View to
analyze values
• Easier to view and tells you what you need to know