SlideShare ist ein Scribd-Unternehmen logo
1 von 11
SQL Server : 
Performance and Baseline 
Measurements 
Mike Walsh – Linchpin People
Mike Walsh 
 SQL Server MVP since 2011 
 Seacoast SQL User Group 
 SQL Server Consultant 
 Partner at Linchpin People 
 Blog: 
 Straightpath SQL Blog 
 Linchpin People Blog
Agenda 
 Baselines – What/Why/How are they? 
 Tools and Scripts 
 PAL 
 Wait and IO Statistics Collection 
 “Glenn Berry Scripts” 
 Telling a performance story
PAL – Part 1 
 Performance Analysis For Logs 
 Perfmon 
 Template Files 
 PAL Demo 
 Show the tool 
 Talk about perfmon 
 Start collection and kick off a workload
Baseline & 
Benchmark 
Discussion 
 While our workload runs.. Let’s talk about baselines… 
 What are they? 
 What can they do for us? 
 How can we review and use them? 
 Why should you all be collecting and reviewing them?
Wait Statistics 
 What are they? 
 What do we do with the information? 
 Trending vs Static 
 DEMO 
 Look at wait statistics 
 Look at interval wait statistics
File/IO Stats 
 SQL Server’s View into Latency 
 Doesn’t always match perfmon… Why? 
 Perfmon doesn’t always match SAN stats… Why? 
 DEMO 
 Looking at Static Stats with Glenn Berry Scripts 
 Looking at interval stats
How’s Your 
Server? 
 Glenn Berry Scripts – Are you shooting yourself in the foot? 
 Quick Talk about the Linchpin People WellDBA™ Exam 
 (not marketeering.. Talk about why it’s good to check your own 
servers from time to time.. No matter how you do it.) 
 What we are looking for that affects performance 
 DEMO 
 Running through Glenn Berry Diagnostic Scripts Live 
 Looking at CPU-Z for CPU Power Saving (it really does kill 
performance!)
PAL Part 2 
 Workload is probably done now. 
 Let’s talk about how to use PAL to analyze our log file. 
 Instead of talking, let’s show it… 
 DEMO 
 Hopefully use the real file from the workload 
 If not review some already staged files (ala Julia Child) 
 Look at the insight in PAL for us 
 Pay attention to the lessons you can get just using PAL (e.g 
Forwarded Records definition and solution.. Batch Requests/sec 
ratios to other counters, etc)
Putting it all 
together 
 What’s the performance story from everything we looked at? 
 Getting into monthly or quarterly reviews 
 Picking counters to trend the story over time 
 Batch requests/sec – busier now than then? 
 User connections then/now 
 Basic metrics then/now – capacity planning proactively 
 Fixing where it hurts 
 When isn’t it the database/code? 
 When isn’t it the server? 
 When is it both? (hint – most of the time)
Resources 
 Blog Posts/How-To Videos 
 My post on using PAL to generate template with video walkthrough. 
 My post on how to use CPU-Z to look for dangers of CPU Power saving with video walkthrough. 
 Old post of mine talking about some other free tools that are great. 
 Brent Ozar post on doing some perfmon analysis in Excel/CSV format. 
 Old PAL/Baseline blog post on my blog. 
 Glenn Berry Diagnostic Scripts 
 PAL 
 John Sterrett Wait and IO Statistics Interval Scripts – 
 Waits File/IO 
 Great Books 
 Professional SQL Server 2008 Internals and Troubleshooting (still great– even now) 
 Professional SQL Server 2012 Internals and Troubleshooting. 
 DVD Store –What we used to generate load on the server. Great blog post walk through on 
setting up from David Klee. 
 Relog –Tool we discussed to turn blg into CSV (so you never have to store in CSV format from 
perfmon…) 
 CPU-Z –Tool I talk about in the presentation and blog post above. 
 SP_Whoisactive – Anytime I deliver this session I imagine I’ll always mention this amazing 
script from Adam Machanic. Link goes to lots of posts on his blog about the tool and download 
link.

Weitere ähnliche Inhalte

Was ist angesagt?

Coffee script final
Coffee script finalCoffee script final
Coffee script final
priyankazope
 

Was ist angesagt? (20)

JSFoo-2017 Takeaways
JSFoo-2017 TakeawaysJSFoo-2017 Takeaways
JSFoo-2017 Takeaways
 
Test automation with cucumber jvm
Test automation with cucumber jvmTest automation with cucumber jvm
Test automation with cucumber jvm
 
Test Automation Framework with BDD and Cucumber
Test Automation Framework with BDD and CucumberTest Automation Framework with BDD and Cucumber
Test Automation Framework with BDD and Cucumber
 
Migrate PHP E-Commerce Site to Go
Migrate PHP E-Commerce Site to GoMigrate PHP E-Commerce Site to Go
Migrate PHP E-Commerce Site to Go
 
Introduction to Coffeescript
Introduction to CoffeescriptIntroduction to Coffeescript
Introduction to Coffeescript
 
Day 9 - PostgreSQL Application Architecture
Day 9 - PostgreSQL Application ArchitectureDay 9 - PostgreSQL Application Architecture
Day 9 - PostgreSQL Application Architecture
 
Cypress test techniques cucumber bdd framework,tdd,api tests course
Cypress test techniques cucumber bdd framework,tdd,api tests courseCypress test techniques cucumber bdd framework,tdd,api tests course
Cypress test techniques cucumber bdd framework,tdd,api tests course
 
Promoting Agility with Running Tested Features - Lightening Talk
Promoting Agility with Running Tested Features - Lightening TalkPromoting Agility with Running Tested Features - Lightening Talk
Promoting Agility with Running Tested Features - Lightening Talk
 
Performant Django - Ara Anjargolian
Performant Django - Ara AnjargolianPerformant Django - Ara Anjargolian
Performant Django - Ara Anjargolian
 
Coffee script final
Coffee script finalCoffee script final
Coffee script final
 
Test Driven Development in CQ5/AEM
Test Driven Development in CQ5/AEMTest Driven Development in CQ5/AEM
Test Driven Development in CQ5/AEM
 
Intro to DooPHP
Intro to DooPHPIntro to DooPHP
Intro to DooPHP
 
Dod
DodDod
Dod
 
Promises in JavaScript with jQuery
Promises in JavaScript with jQueryPromises in JavaScript with jQuery
Promises in JavaScript with jQuery
 
Day 1 - Intro to Ruby
Day 1 - Intro to RubyDay 1 - Intro to Ruby
Day 1 - Intro to Ruby
 
Test-driven development with Node.js
Test-driven development with Node.jsTest-driven development with Node.js
Test-driven development with Node.js
 
Bdd – with cucumber and gherkin
Bdd – with cucumber and gherkinBdd – with cucumber and gherkin
Bdd – with cucumber and gherkin
 
5 hs mpostcustomizationrenefonseca
5 hs mpostcustomizationrenefonseca5 hs mpostcustomizationrenefonseca
5 hs mpostcustomizationrenefonseca
 
Practical TDD Demonstrated
Practical TDD DemonstratedPractical TDD Demonstrated
Practical TDD Demonstrated
 
How to Automate Practically Anything with FME Server (Technical Webinar)
How to Automate Practically Anything with FME Server (Technical Webinar)How to Automate Practically Anything with FME Server (Technical Webinar)
How to Automate Practically Anything with FME Server (Technical Webinar)
 

Andere mochten auch

C:\Fakepath\Promote Awud
C:\Fakepath\Promote AwudC:\Fakepath\Promote Awud
C:\Fakepath\Promote Awud
CSFBookman
 
Think Mobile April 2010_Michael Boord_Ap mobile
Think Mobile April 2010_Michael Boord_Ap mobileThink Mobile April 2010_Michael Boord_Ap mobile
Think Mobile April 2010_Michael Boord_Ap mobile
guest4513a7
 
Haaga helia msl_tehtaevae_atte_jaervelae_arvioitu-1
Haaga helia msl_tehtaevae_atte_jaervelae_arvioitu-1Haaga helia msl_tehtaevae_atte_jaervelae_arvioitu-1
Haaga helia msl_tehtaevae_atte_jaervelae_arvioitu-1
Atte Järvelä
 
is globalization the new colonization of the new era?
is globalization the new colonization of the new era?is globalization the new colonization of the new era?
is globalization the new colonization of the new era?
Daniel
 
Ssc guidelines
Ssc guidelinesSsc guidelines
Ssc guidelines
warner
 
Presentation progress academy 2013 uk v0
Presentation progress academy 2013 uk v0Presentation progress academy 2013 uk v0
Presentation progress academy 2013 uk v0
Gauthier Van Assche
 
Trabajo De Sociales Campo Elias
Trabajo De Sociales Campo EliasTrabajo De Sociales Campo Elias
Trabajo De Sociales Campo Elias
052298
 
Presentatie Ifrs En Sox
Presentatie Ifrs En SoxPresentatie Ifrs En Sox
Presentatie Ifrs En Sox
rkonijnendijk
 
Digital media and Namibian youth
Digital media and Namibian youthDigital media and Namibian youth
Digital media and Namibian youth
Shelby
 

Andere mochten auch (20)

C:\Fakepath\Promote Awud
C:\Fakepath\Promote AwudC:\Fakepath\Promote Awud
C:\Fakepath\Promote Awud
 
Think Mobile April 2010_Michael Boord_Ap mobile
Think Mobile April 2010_Michael Boord_Ap mobileThink Mobile April 2010_Michael Boord_Ap mobile
Think Mobile April 2010_Michael Boord_Ap mobile
 
Haaga helia msl_tehtaevae_atte_jaervelae_arvioitu-1
Haaga helia msl_tehtaevae_atte_jaervelae_arvioitu-1Haaga helia msl_tehtaevae_atte_jaervelae_arvioitu-1
Haaga helia msl_tehtaevae_atte_jaervelae_arvioitu-1
 
juliana delgado s.s. work
juliana delgado s.s. workjuliana delgado s.s. work
juliana delgado s.s. work
 
Pixel Deployment Guide
Pixel Deployment GuidePixel Deployment Guide
Pixel Deployment Guide
 
is globalization the new colonization of the new era?
is globalization the new colonization of the new era?is globalization the new colonization of the new era?
is globalization the new colonization of the new era?
 
Veto-hanke OAKK loppuraportti
Veto-hanke OAKK loppuraporttiVeto-hanke OAKK loppuraportti
Veto-hanke OAKK loppuraportti
 
Ssc guidelines
Ssc guidelinesSsc guidelines
Ssc guidelines
 
Presentation progress academy 2013 uk v0
Presentation progress academy 2013 uk v0Presentation progress academy 2013 uk v0
Presentation progress academy 2013 uk v0
 
what is excel??
what is excel??what is excel??
what is excel??
 
My Dictionary
My DictionaryMy Dictionary
My Dictionary
 
Haaga Helia Kehittamistyo Atte Jarvela
Haaga Helia Kehittamistyo Atte JarvelaHaaga Helia Kehittamistyo Atte Jarvela
Haaga Helia Kehittamistyo Atte Jarvela
 
Sws Event
Sws EventSws Event
Sws Event
 
Trabajo De Sociales Campo Elias
Trabajo De Sociales Campo EliasTrabajo De Sociales Campo Elias
Trabajo De Sociales Campo Elias
 
Presentatie Ifrs En Sox
Presentatie Ifrs En SoxPresentatie Ifrs En Sox
Presentatie Ifrs En Sox
 
Rural tech
Rural techRural tech
Rural tech
 
Parameter Passing & Session Tracking in PHP
Parameter Passing & Session Tracking in PHPParameter Passing & Session Tracking in PHP
Parameter Passing & Session Tracking in PHP
 
css navigation
css navigationcss navigation
css navigation
 
Kuormausnosturin käyttö Volvo FH12 ja Hiab 330
Kuormausnosturin käyttö Volvo FH12 ja Hiab 330Kuormausnosturin käyttö Volvo FH12 ja Hiab 330
Kuormausnosturin käyttö Volvo FH12 ja Hiab 330
 
Digital media and Namibian youth
Digital media and Namibian youthDigital media and Namibian youth
Digital media and Namibian youth
 

Ähnlich wie Sql server baselines

Online Reporting Architectures Behind Load Balancers
Online Reporting Architectures Behind Load BalancersOnline Reporting Architectures Behind Load Balancers
Online Reporting Architectures Behind Load Balancers
Crystal Foor Manson
 
Replay your workload as it's your actual one
Replay your workload as it's your actual oneReplay your workload as it's your actual one
Replay your workload as it's your actual one
Boris Hristov
 
So Your Boss Wants You to Performance Test Blackboard
So Your Boss Wants You to Performance Test BlackboardSo Your Boss Wants You to Performance Test Blackboard
So Your Boss Wants You to Performance Test Blackboard
Steve Feldman
 
Feature vs component
Feature vs componentFeature vs component
Feature vs component
Chad Holdorf
 
Swiss pass chapter deck - zurich - april 2011
Swiss pass chapter deck - zurich - april 2011Swiss pass chapter deck - zurich - april 2011
Swiss pass chapter deck - zurich - april 2011
Charley Hanania
 

Ähnlich wie Sql server baselines (20)

Beat the devil: towards a Drupal performance benchmark
Beat the devil: towards a Drupal performance benchmarkBeat the devil: towards a Drupal performance benchmark
Beat the devil: towards a Drupal performance benchmark
 
Python for Data Logistics
Python for Data LogisticsPython for Data Logistics
Python for Data Logistics
 
Online Reporting Architectures Behind Load Balancers
Online Reporting Architectures Behind Load BalancersOnline Reporting Architectures Behind Load Balancers
Online Reporting Architectures Behind Load Balancers
 
Let's get along
Let's get alongLet's get along
Let's get along
 
Replay your workload as it's your actual one
Replay your workload as it's your actual oneReplay your workload as it's your actual one
Replay your workload as it's your actual one
 
Replay your workload as it is your actual one!
Replay your workload as it is your actual one! Replay your workload as it is your actual one!
Replay your workload as it is your actual one!
 
Supporting SQLserver
Supporting SQLserverSupporting SQLserver
Supporting SQLserver
 
Replay your workload as it is your actual one!
Replay your workload as it is your actual one! Replay your workload as it is your actual one!
Replay your workload as it is your actual one!
 
So Your Boss Wants You to Performance Test Blackboard
So Your Boss Wants You to Performance Test BlackboardSo Your Boss Wants You to Performance Test Blackboard
So Your Boss Wants You to Performance Test Blackboard
 
The OpenOffice.org specification process demystified
The OpenOffice.org specification process demystifiedThe OpenOffice.org specification process demystified
The OpenOffice.org specification process demystified
 
Pitchero - Increasing agility through DevOps - Leeds DevOps November 2016
Pitchero - Increasing agility through DevOps - Leeds DevOps November 2016Pitchero - Increasing agility through DevOps - Leeds DevOps November 2016
Pitchero - Increasing agility through DevOps - Leeds DevOps November 2016
 
Replay your workload as it is your actual one!
Replay your workload as it is your actual one! Replay your workload as it is your actual one!
Replay your workload as it is your actual one!
 
ActiveWarehouse/ETL - BI & DW for Ruby/Rails
ActiveWarehouse/ETL - BI & DW for Ruby/RailsActiveWarehouse/ETL - BI & DW for Ruby/Rails
ActiveWarehouse/ETL - BI & DW for Ruby/Rails
 
Feature vs component
Feature vs componentFeature vs component
Feature vs component
 
Migraine Drupal - syncing your staging and live sites
Migraine Drupal - syncing your staging and live sitesMigraine Drupal - syncing your staging and live sites
Migraine Drupal - syncing your staging and live sites
 
SharePoint Performance
SharePoint PerformanceSharePoint Performance
SharePoint Performance
 
Performance Tuning with XHProf
Performance Tuning with XHProfPerformance Tuning with XHProf
Performance Tuning with XHProf
 
Synergy 2015 Session Slides: SYN408 XenDesktop 7.6 Architecture - Dealing Wit...
Synergy 2015 Session Slides: SYN408 XenDesktop 7.6 Architecture - Dealing Wit...Synergy 2015 Session Slides: SYN408 XenDesktop 7.6 Architecture - Dealing Wit...
Synergy 2015 Session Slides: SYN408 XenDesktop 7.6 Architecture - Dealing Wit...
 
Swiss pass chapter deck - zurich - april 2011
Swiss pass chapter deck - zurich - april 2011Swiss pass chapter deck - zurich - april 2011
Swiss pass chapter deck - zurich - april 2011
 
Metamorphosis from Forms to Java: a technical lead's perspective
Metamorphosis from Forms to Java:  a technical lead's perspectiveMetamorphosis from Forms to Java:  a technical lead's perspective
Metamorphosis from Forms to Java: a technical lead's perspective
 

Mehr von Mike Walsh

Mehr von Mike Walsh (6)

Mike walsh hadr_toomanychoices_20191107
Mike walsh hadr_toomanychoices_20191107Mike walsh hadr_toomanychoices_20191107
Mike walsh hadr_toomanychoices_20191107
 
Simplifying sql server upgrades
Simplifying sql server upgradesSimplifying sql server upgrades
Simplifying sql server upgrades
 
SQL Server High Availability and DR - Too Many Choices!
SQL Server High Availability and DR - Too Many Choices!SQL Server High Availability and DR - Too Many Choices!
SQL Server High Availability and DR - Too Many Choices!
 
Iceberg, Dead Ahead - Lessons From Aviation Disasters
Iceberg, Dead Ahead - Lessons From Aviation DisastersIceberg, Dead Ahead - Lessons From Aviation Disasters
Iceberg, Dead Ahead - Lessons From Aviation Disasters
 
You Can Tune Your Own SQL Code
You Can Tune Your Own SQL CodeYou Can Tune Your Own SQL Code
You Can Tune Your Own SQL Code
 
As a DBA, Where Do I Start? (1.0)
As a DBA, Where Do I Start? (1.0)As a DBA, Where Do I Start? (1.0)
As a DBA, Where Do I Start? (1.0)
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

Sql server baselines

  • 1. SQL Server : Performance and Baseline Measurements Mike Walsh – Linchpin People
  • 2. Mike Walsh  SQL Server MVP since 2011  Seacoast SQL User Group  SQL Server Consultant  Partner at Linchpin People  Blog:  Straightpath SQL Blog  Linchpin People Blog
  • 3. Agenda  Baselines – What/Why/How are they?  Tools and Scripts  PAL  Wait and IO Statistics Collection  “Glenn Berry Scripts”  Telling a performance story
  • 4. PAL – Part 1  Performance Analysis For Logs  Perfmon  Template Files  PAL Demo  Show the tool  Talk about perfmon  Start collection and kick off a workload
  • 5. Baseline & Benchmark Discussion  While our workload runs.. Let’s talk about baselines…  What are they?  What can they do for us?  How can we review and use them?  Why should you all be collecting and reviewing them?
  • 6. Wait Statistics  What are they?  What do we do with the information?  Trending vs Static  DEMO  Look at wait statistics  Look at interval wait statistics
  • 7. File/IO Stats  SQL Server’s View into Latency  Doesn’t always match perfmon… Why?  Perfmon doesn’t always match SAN stats… Why?  DEMO  Looking at Static Stats with Glenn Berry Scripts  Looking at interval stats
  • 8. How’s Your Server?  Glenn Berry Scripts – Are you shooting yourself in the foot?  Quick Talk about the Linchpin People WellDBA™ Exam  (not marketeering.. Talk about why it’s good to check your own servers from time to time.. No matter how you do it.)  What we are looking for that affects performance  DEMO  Running through Glenn Berry Diagnostic Scripts Live  Looking at CPU-Z for CPU Power Saving (it really does kill performance!)
  • 9. PAL Part 2  Workload is probably done now.  Let’s talk about how to use PAL to analyze our log file.  Instead of talking, let’s show it…  DEMO  Hopefully use the real file from the workload  If not review some already staged files (ala Julia Child)  Look at the insight in PAL for us  Pay attention to the lessons you can get just using PAL (e.g Forwarded Records definition and solution.. Batch Requests/sec ratios to other counters, etc)
  • 10. Putting it all together  What’s the performance story from everything we looked at?  Getting into monthly or quarterly reviews  Picking counters to trend the story over time  Batch requests/sec – busier now than then?  User connections then/now  Basic metrics then/now – capacity planning proactively  Fixing where it hurts  When isn’t it the database/code?  When isn’t it the server?  When is it both? (hint – most of the time)
  • 11. Resources  Blog Posts/How-To Videos  My post on using PAL to generate template with video walkthrough.  My post on how to use CPU-Z to look for dangers of CPU Power saving with video walkthrough.  Old post of mine talking about some other free tools that are great.  Brent Ozar post on doing some perfmon analysis in Excel/CSV format.  Old PAL/Baseline blog post on my blog.  Glenn Berry Diagnostic Scripts  PAL  John Sterrett Wait and IO Statistics Interval Scripts –  Waits File/IO  Great Books  Professional SQL Server 2008 Internals and Troubleshooting (still great– even now)  Professional SQL Server 2012 Internals and Troubleshooting.  DVD Store –What we used to generate load on the server. Great blog post walk through on setting up from David Klee.  Relog –Tool we discussed to turn blg into CSV (so you never have to store in CSV format from perfmon…)  CPU-Z –Tool I talk about in the presentation and blog post above.  SP_Whoisactive – Anytime I deliver this session I imagine I’ll always mention this amazing script from Adam Machanic. Link goes to lots of posts on his blog about the tool and download link.