SlideShare una empresa de Scribd logo
1 de 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.

Más contenido relacionado

La actualidad más candente

JSFoo-2017 Takeaways
JSFoo-2017 TakeawaysJSFoo-2017 Takeaways
JSFoo-2017 TakeawaysMir Ali
 
Test automation with cucumber jvm
Test automation with cucumber jvmTest automation with cucumber jvm
Test automation with cucumber jvmNibu Baby
 
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 GoWeng Wei
 
Introduction to Coffeescript
Introduction to CoffeescriptIntroduction to Coffeescript
Introduction to CoffeescriptIndies Services
 
Day 9 - PostgreSQL Application Architecture
Day 9 - PostgreSQL Application ArchitectureDay 9 - PostgreSQL Application Architecture
Day 9 - PostgreSQL Application ArchitectureBarry Jones
 
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 courseNarayanan Palani
 
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 TalkCamille Bell
 
Performant Django - Ara Anjargolian
Performant Django - Ara AnjargolianPerformant Django - Ara Anjargolian
Performant Django - Ara AnjargolianHakka Labs
 
Coffee script final
Coffee script finalCoffee script final
Coffee script finalpriyankazope
 
Test Driven Development in CQ5/AEM
Test Driven Development in CQ5/AEMTest Driven Development in CQ5/AEM
Test Driven Development in CQ5/AEMSagar Sane
 
Intro to DooPHP
Intro to DooPHPIntro to DooPHP
Intro to DooPHPLeng Hong
 
Promises in JavaScript with jQuery
Promises in JavaScript with jQueryPromises in JavaScript with jQuery
Promises in JavaScript with jQueryRyan Blunden
 
Day 1 - Intro to Ruby
Day 1 - Intro to RubyDay 1 - Intro to Ruby
Day 1 - Intro to RubyBarry Jones
 
Test-driven development with Node.js
Test-driven development with Node.jsTest-driven development with Node.js
Test-driven development with Node.jsMirko Kiefer
 
Bdd – with cucumber and gherkin
Bdd – with cucumber and gherkinBdd – with cucumber and gherkin
Bdd – with cucumber and gherkinArati Joshi
 
5 hs mpostcustomizationrenefonseca
5 hs mpostcustomizationrenefonseca5 hs mpostcustomizationrenefonseca
5 hs mpostcustomizationrenefonsecassuserfadb24
 
Practical TDD Demonstrated
Practical TDD DemonstratedPractical TDD Demonstrated
Practical TDD DemonstratedAlan Christensen
 
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)Safe Software
 

La actualidad más candente (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)
 

Destacado

C:\Fakepath\Promote Awud
C:\Fakepath\Promote AwudC:\Fakepath\Promote Awud
C:\Fakepath\Promote AwudCSFBookman
 
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 mobileguest4513a7
 
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-1Atte Järvelä
 
juliana delgado s.s. work
juliana delgado s.s. workjuliana delgado s.s. work
juliana delgado s.s. workjulidelgado
 
Pixel Deployment Guide
Pixel Deployment GuidePixel Deployment Guide
Pixel Deployment GuideRecrue
 
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
 
Veto-hanke OAKK loppuraportti
Veto-hanke OAKK loppuraporttiVeto-hanke OAKK loppuraportti
Veto-hanke OAKK loppuraporttiAtte Järvelä
 
Ssc guidelines
Ssc guidelinesSsc guidelines
Ssc guidelineswarner
 
Presentation progress academy 2013 uk v0
Presentation progress academy 2013 uk v0Presentation progress academy 2013 uk v0
Presentation progress academy 2013 uk v0Gauthier Van Assche
 
Haaga Helia Kehittamistyo Atte Jarvela
Haaga Helia Kehittamistyo Atte JarvelaHaaga Helia Kehittamistyo Atte Jarvela
Haaga Helia Kehittamistyo Atte JarvelaAtte Järvelä
 
Trabajo De Sociales Campo Elias
Trabajo De Sociales Campo EliasTrabajo De Sociales Campo Elias
Trabajo De Sociales Campo Elias052298
 
Presentatie Ifrs En Sox
Presentatie Ifrs En SoxPresentatie Ifrs En Sox
Presentatie Ifrs En Soxrkonijnendijk
 
Parameter Passing & Session Tracking in PHP
Parameter Passing & Session Tracking in PHPParameter Passing & Session Tracking in PHP
Parameter Passing & Session Tracking in PHPamichoksi
 
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 330Atte Järvelä
 
Digital media and Namibian youth
Digital media and Namibian youthDigital media and Namibian youth
Digital media and Namibian youthShelby
 

Destacado (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
 

Similar a Sql server baselines

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 benchmarkPedro González Serrano
 
Python for Data Logistics
Python for Data LogisticsPython for Data Logistics
Python for Data LogisticsKen Farmer
 
Online Reporting Architectures Behind Load Balancers
Online Reporting Architectures Behind Load BalancersOnline Reporting Architectures Behind Load Balancers
Online Reporting Architectures Behind Load BalancersCrystal 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 oneBoris Hristov
 
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! Boris Hristov
 
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! 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 BlackboardSteve Feldman
 
The OpenOffice.org specification process demystified
The OpenOffice.org specification process demystifiedThe OpenOffice.org specification process demystified
The OpenOffice.org specification process demystifiedAlexandro Colorado
 
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 2016Jon Milsom
 
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! Boris Hristov
 
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/RailsPaul Gallagher
 
Feature vs component
Feature vs componentFeature vs component
Feature vs componentChad Holdorf
 
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 sitesdrupalindia
 
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...Citrix
 
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 2011Charley Hanania
 
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 perspectiveMichael Fons
 

Similar a 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
 

Más de Mike Walsh

Mike walsh hadr_toomanychoices_20191107
Mike walsh hadr_toomanychoices_20191107Mike walsh hadr_toomanychoices_20191107
Mike walsh hadr_toomanychoices_20191107Mike Walsh
 
Simplifying sql server upgrades
Simplifying sql server upgradesSimplifying sql server upgrades
Simplifying sql server upgradesMike Walsh
 
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!Mike Walsh
 
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 DisastersMike Walsh
 
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 CodeMike Walsh
 
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)Mike Walsh
 

Más de 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)
 

Último

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Último (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

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.