Performance Tuning for Mere Mortals Part II

Slides:



Advertisements
Similar presentations
SQL Server Wait Statistics Capture, Report, Analyse Rob Risetto Principal Consultant with StrataDB
Advertisements

5 Common SQL Server Performance Issues Jason Hall-SQL Sentry, Dir of Client Services Blog-jasonhall.blogs.sqlsentry.net.
Tempdb Parasites Jason Hall-Dir. of Client SQL Sentry Blog-jasonhall.blogs.sqlsentry.net.
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
SQL SERVER DAYS 2011 Optimizing SQL Server Performance in a Virtual Environment Denny Cherry twitter.com/mrdenny.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Troubleshooting SQL Server Enterprise Geodatabase Performance Issues
Connect Learn Share Performance Optimization for Microsoft Dynamics CRM Presented by: Walter Grow Austin Jones.
Intro to SQL Server Performance Tuning By Robert Biddle.
How to solve a SQL performance problem Paul Zgondea.
Learningcomputer.com SQL Server 2008 – Profiling and Monitoring Tools.
It Depends Database administration for developers.
Troubleshooting SQL Server Performance: Tips &Tools Amit Khandelwal.
How to kill SQL Server Performance Håkan Winther.
Scott Fallen Sales Engineer, SQL Sentry Blog: scottfallen.blogspot.com.
SQL Advanced Monitoring Using DMV, Extended Events and Service Broker Javier Villegas – DBA | MCP | MCTS.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
Optimizing SQL Server Performance in a Virtual Environment Denny Cherry twitter.com/mrdenny.
You Inherited a Database Now What? What you should immediately check and start monitoring for. Tim Radney, Senior DBA for a top 40 US Bank President of.
No more waiting. Sponsors About me  Database Technology Specialist  MVP  Blogger  Author 3
New Instance… Now What? Presented by: James Donahoe Senior Solutions Engineer – TeleTracking Technologies MCSA: SQL Server 2012.
So you want to be a DBA….
CSS Microsoft Korea. Data Collector Management Data Warehouse Performance and Configuration Reports Graphical Showplan Activity Monitor SQL Profiler Dynamic.
Fixing Page Life Expectancy Steve Hood Blog: SimpleSQLServer.com.
SQL Server Performance Tuning Starter Kit Randolph West | Born SQL.
RESOURCES FOR THE NEW OR ACCIDENTAL DBA Thomas Blog - TomStrike.com.
Top 10 DBA mistakes that affect the SQL Server performance
An introduction to Wait Statistics
Benchmarking like a PRO
You Inherited a Database Now What?
Curacao SQL Saturday June 11, 2016
SharePoint Solutions Architect, Protiviti
SQL Server Data Collector From Every Angle
Peter Shore SQL Saturday Pittsburgh 2017
Isolation Levels Understanding Transaction Temper Tantrums
Summit Nashville /28/2018 8:42 PM
Performance Tuning 101: Parallelism
Where to Start, What You Need
Peter Shore SQL Saturday Indianapolis 2016
Optimizing SQL Server Performance in a Virtual Environment
SQL Server on your fingertips
SQL Server May Let You Do It, But it Doesn’t Mean You Should
Dynamics AX Performance
Troubleshooting SQL Server Basics
Resources for the new or accidental dba
dbatools - PowerShell and SQL Server Working Together
SQL Server Mythconceptions And Mythteries
Peter Shore SQL Saturday Cleveland 2016
Resources for the new or accidental dba
Performance Tuning for Mere Mortals Part II
When query plans go wrong
New Paradigm for Performance Tuning in SQL Server 2016
SQL Server Performance Tuning Nowadays
SQL Server Mythconceptions And Mythteries
SQL Server Performance Tuning
Moving from SQL Profiler to xEvents
Optimizing SQL Server Performance in a Virtual Environment
It’s TEMPDB Why Should You Care?
You Inherited a Database Now What?
Kris Hokanson That’s bad mmmkay! …Or, how to know when your SQL Server isn’t working as well as it could.
Query Tuning Fundamentals
Sioux Falls, SD | Hosted by (605) SQL
Jean Joseph DBA\DEVELOPER
Introduction to Execution Plans
Denis Reznik SQL Server 2017 Hidden Gems.
Isolation Levels Understanding Transaction Temper Tantrums
Introduction to Execution Plans
Using wait stats to determine why my server is slow
Extended Events: Successful troubleshooting recipes
Denis Reznik SQL Server 2017 Hidden Gems.
Presentation transcript:

Performance Tuning for Mere Mortals Part II Don’t Reinvent the Wheel Use what others have already built Performance Troubleshooting Mike Lawell mike@sqlserverassociates.com Twitter: @sqldiver LinkedIn: http://www.linkedin.com/in/mikelawell/ THIS IS A BEGINNER LEVEL SESSION! Don’t reinvent the wheel, the SQL Server community

About Me I’ve lived in Atlanta, GA since 1996 (from Muncie, IN) Independent Consultant (Microsoft Consulting Services, Intellinet, others) Linchpin People Teammate 18 years of SQL Server Experience SQL Server 6.0, 6.5, 7, 2000, 2005, 2008, 2008 R2, 2012, 2014 Worked in a variety of roles, database development, data architect, database administrator, database manager. MCDBA, MCSE, MCSA Data Platform Certified Scuba Instructor Top Clients 2 | 11/14/201811/14/2018 Performance Tuning for Mere Mortals II

Cohort in Crime Ed Watson, MCTS aka SQL Gator Data Services Consultant Twitter: @SQLGator Blog: SQLGator.com LinkedIn: LinkedIn.com/in/WatsonEd 4 | 11/14/201811/14/2018 Performance Tuning for Mere Mortals II

Objectives Types of Performance Problems Leading Performance Issues Tools for Finding Performance Issues Troubleshooting Performance Issues Just to give me an idea of where you are… how many of you are database administrators? Database developers? Application Developers? Less than a year? 5 years or less? 10 years or less? SQL Server 2000, SQL Server 2005, SQL Server 2008 – R2, SQL 2014?  5 | 11/14/201811/14/2018 Performance Tuning for Mere Mortals II

What is not going to be covered? Profiler (deprecated) Coding Best Practices (mostly) Indexes (kind of) 6 | 11/14/201811/14/2018 Performance Tuning for Mere Mortals II

Types of Performance Problems No Information Everything is slow! The Database is slow! At least a little information The #$%# Page is slow! The @%#% Report is Slow! The &#%@ query is slow! Everything, Database - Tempdb, Server Resources, Perception Page, report query is slow. START THE DEMOS HERE… COME BACK AFTER DEMOS. 9 | 11/14/201811/14/2018 Performance Tuning for Mere Mortals II

Demos Slow disk Page Splits TempDb file contention CXPACKET waits How to examine IO subsystem latencies from within SQL Server by Paul Randal A Performance Troubleshooting Methodology for SQL Server by Jonathan Kehayias Page Splits Tracking page splits using the transaction log by Paul Randal How to Find Bad Page Splits by Bradley Ball TempDb file contention Analyzing Tempdb Contention by Adam Machanic Optimizing tempdb configuration with SQL Server 2012 Extended Events by Jonathan Kehayias A SQL Server DBA myth a day: (12/30) tempdb should always have one data file per processor core by Paul Randal CXPACKET waits Tuning ‘cost threshold for parallelism’ from the Plan Cache by Jonathan Kehayias SQL Server Virtualization: Get Your Hands Off That MAXDOP by Brent Ozar Recompiles An XEvent a Day (7 of 31) – Targets Week – bucketizers by Jonathan Kehayias

Go to Demos

Page Splits If you're adding data to your database, you will have page splits. Good Page Splits Bad Page Splits New Data New Data Data Pages Data Pages LOP DELETE

Back to Demos

CXPACKET Waits CXPACKET WAIT 1 2 3 4 5 6

Back to Demos

Other Key Articles and Blogs Invalid statistics (no maintenance) Eight Steps to Effective SQL Server Monitoring General Resources Accidental DBA by Jonathan Kehayias and Ted Krueger

Execution Plans SArg-able Implicit Conversions cxpacket Parameter Sniffing

Blogs, Freebies and Cool Stuff SQL Server Perfmon Counters Poster Your SQL med kit by Brent Ozar Unlimited Red-Gate Books Plan Explorer My Favorite Performance Tuning Blogs Denny Cherry SQLSkills (all of the members) Brent Ozar SQL Server IO - Wes Brown Technobabble by Klee SQL Swampland – Ed Watson Kalen Delaney

Thank You! Please complete the Eval and make comments! Mike Lawell mike@sqlserverassociates.com twitter.com/sqldiver http://www.sqlserverassociates.com/blog 11 | 11/14/201811/14/2018 Performance Tuning for Mere Mortals II