Presentation is loading. Please wait.

Presentation is loading. Please wait.

Perfmon Basics Rick Heiges, SQL Server MVP.  Our Sponsors  Our Venue  SQLPASS NYC Chapter  Volunteers for SQL Saturday #380  Our Speakers Thank You.

Similar presentations


Presentation on theme: "Perfmon Basics Rick Heiges, SQL Server MVP.  Our Sponsors  Our Venue  SQLPASS NYC Chapter  Volunteers for SQL Saturday #380  Our Speakers Thank You."— Presentation transcript:

1 Perfmon Basics Rick Heiges, SQL Server MVP

2  Our Sponsors  Our Venue  SQLPASS NYC Chapter  Volunteers for SQL Saturday #380  Our Speakers Thank You to

3

4  For Giving Up Your Saturday  For Not Giving Up on that One Problem  For Wanting to Continue to Learn  For Not Wanting to Stagnate in Your Career  For Going that Extra Mile  For not going the extra miles to the other SQL Saturdays today (Varna and Iowa City) THANK YOU!!!

5 Who am I? Board of Directors 2003 - 2011 Independent Experts, Real World Answers Principal Solutions Architect

6 www.dbbest.com Like us on Facebook facebook.com/DBBestTech Follow us on Twitter @dbbest_tech @heigesr2http://sqlblog.com/blogs/rick_heiges

7  The Perfmon Tool  Real-time Monitoring / Analysis of Selected Counters  Methods of Capturing a Log  Baselines  Reviewing a Log – Analysis  PAL – Free Tool  Relog Agenda

8  Once referred to as Sysmon  Also called Performance and Reliability Monitor in Vista  Part of every Windows OS  Usually considered a “light-weight” process  Real-Time Monitor or view a log  Collect data from other systems Perfmon

9  Perfmon Tool Demo 1

10  Local or Remote System  Scroll or Wrap  Duration – Properties  Freeze / Update / Resume  Pro: See what is Happening Now  Con: No Evidence Real-Time Monitoring

11  CPU Counters  \Processor\% Processor Time  \System\Processor Queue Length  \System\Context Switches/sec  Memory  \Memory\Pages/sec  \SQLServer:Buffer Manager\PageLifeExpectancy  \SQLServer:Buffer Manager\LazyWrites/Sec  \SQLServer:Cache Manager\Cache Hit Ratio  \SQLServer:Memory Manager\Memory Grants Pending Selected Counters

12  IO Counters  \PhysicalDisk(*)\Disk Transfers/sec  \PhysicalDisk(*)\Disk Read Bytes/sec  \PhysicalDisk(*)\Disk Write Bytes/sec  \Process(sqlservr)\IO Data Operations/sec  \SQLServer:Databases(*)\Transactions/sec  \PhysicalDisk\Avg Sec/Transfer  Network  \Network Interface(*)\Bytes Total/sec There are Many Others! Selected Counters (Cont.)

13  Manually Add Counters  Logman  Powershell Methods

14  Manually Adding Counters  Logman Demo 2 logman create counter SQLSat380 -cf C:\PerfTemplates\Example\Rick- Lenovo.template -si 00:00:10 -f csv logman start SQLSat380 logman stop SQLSat380

15  Zero Activity Baseline  Typical Workload Baseline  End of Month/Etc Baseline Baselines

16  Different Views in Perfmon  Line  Bar  Report  PAL  Codeplex FREE Tool  Graphs! Explanations!  Demo - Sample Reviewing a Log

17  Allows you transform format of a perflog into another format  Extract out a specific time slice from a Perflog  Filter out specific counters of a Perflog Relog

18  Powershell  Relog  Circular Data Collection  Creating your own Management Data Warehouse Beyond Basic Perfmon

19  Add / Remove Counters from the Line Graph View of Current Activity  Create a log capture of a few counters. Capture Data for a few days  View your log data in Line Graph View in Perfmon Call To Action

20  Rick Heiges, SQL Server MVP  Rick@DBBest.com Thank You! Like us on Facebook facebook.com/DBBestTech Follow us on Twitter @dbbest_tech @heigesr2 http://sqlblog.com/blogs/rick_heiges


Download ppt "Perfmon Basics Rick Heiges, SQL Server MVP.  Our Sponsors  Our Venue  SQLPASS NYC Chapter  Volunteers for SQL Saturday #380  Our Speakers Thank You."

Similar presentations


Ads by Google