Presentation is loading. Please wait.

Presentation is loading. Please wait.

Performance Tuning for Mere Mortals Part II

Similar presentations


Presentation on theme: "Performance Tuning for Mere Mortals Part II"— Presentation transcript:

1 Performance Tuning for Mere Mortals Part II
Don’t Reinvent the Wheel Use what others have already built Performance Troubleshooting Mike Lawell LinkedIn: THIS IS A BEGINNER LEVEL SESSION! Don’t reinvent the wheel, the SQL Server community

2 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

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

4 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

5 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

6 Types of Performance Problems
No Information Everything is slow! The Database is slow! At least a little information The #$%# Page is slow! 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

7 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

8 Go to Demos

9 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

10 Back to Demos

11 CXPACKET Waits CXPACKET WAIT 1 2 3 4 5 6

12 Back to Demos

13 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

14 Execution Plans SArg-able Implicit Conversions cxpacket
Parameter Sniffing

15 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

16 Thank You! Please complete the Eval and make comments!
Mike Lawell twitter.com/sqldiver 11 | 11/14/201811/14/2018 Performance Tuning for Mere Mortals II


Download ppt "Performance Tuning for Mere Mortals Part II"

Similar presentations


Ads by Google