#RefreshCache Database Performance Tuning October 9-11, 2011 Tom Powers IT Applications Team Manager Southeast Christian Church Louisville, KY

Slides:



Advertisements
Similar presentations
Debugging/Tuning Queries via iSeries Navigator Tom McKinley
Advertisements

Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
DBI402. SQL Server Specialist, Financial Industry Boston, MA Conference and INETA Speaker Connections, PASS, TechEd, DevTeach, etc. Author SQL Server.
Anil Desai Austin CodeCamp 2010.
SQL Server 2012 New Performance Tuning Tools. Who am I? Menzo Steinhorst Senior Premier Field Engineer SQLRAP, WS+ SQL Server Performance Tuning, WS+
Advanced Tuning: Unconventional Solutions to Everyday Problems Robert L Davis.
SQL Server performance tuning basics
1 What Are You Waiting For? A Performance Tuning Process Thomas LaRock Senior DBA, Confio Software.
Your Data Any Place, Any Time Manageability. SQL Server 2008 Manageability Challenges Challenges face database administrators today : Managing complex.
Top Tuning Tools for SQL Server Kevin Kline & Aaron Bertrand SQL Sentry.
How to Perform a SQL Server Health Check
Use the tools support uses.
Module 17 Tracing Access to SQL Server 2008 R2. Module Overview Capturing Activity using SQL Server Profiler Improving Performance with the Database Engine.
SQL Server Wait Statistics Capture, Report, Analyse Rob Risetto Principal Consultant with StrataDB
Troubleshooting Techniques Lesson 29. Skills Matrix.
Utility Database Chris
Chapter 9 Overview  Reasons to monitor SQL Server  Performance Monitoring and Tuning  Tools for Monitoring SQL Server  Common Monitoring and Tuning.
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
Managing and Monitoring SQL Server 2005 Shankar Pal Program Manager SQL Server, Redmond.
Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.
Copyright © 2007 Quest Software The Changing Role of SQL Server DBA’s Bryan Oliver SQL Server Domain Expert Quest Software.
Module 15: Monitoring. Overview Formulate requirements and identify resources to monitor in a database environment Types of monitoring that can be carried.
Module 8: Server Management. Overview Server-level and instance-level resources such as memory and processes Database-level resources such as logical.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Key Concepts About Performance Factors Affecting SQL Performance SQL Performance Tuning Methodologies SQL Performance Tuning Tools 1.
How to solve a SQL performance problem Paul Zgondea.
Top Free Tools for Tuning SQL Statements Kevin Kline & Aaron Bertrand SQL Sentry, Inc.
© 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Perfmon and Profiler 101.
SQLRX – SQL Server Administration – Tips From the Trenches SQL Server Administration – Tips From the Trenches Troubleshooting Reports of Sudden Slowdowns.
SQL Dev Tips for Small Workstations How to develop SQL on small dev workstations when prod is huge. Kevin Kline and Aaron Bertrand SQL Sentry.
Enterprise Database Administration & Deployment SIG ▪ 313M ▪ Sept 29, 2005 ▪ 10:15 AM SQL Server 2005 Performance Diagnosis and Tuning using SQL Tools.
SQL School is strongly committed to provide COMPLETE PRACTICAL REALTIME Trainings on SQL Server Technologies – Dev, SQL DBA, MSBI (SSIS, SSAS, SSRS) and.
Troubleshooting SQL Server Performance: Tips &Tools Amit Khandelwal.
Sofia, Bulgaria | 9-10 October SQL Server Profiler Richard Campbell.
Scott Klein.
Matt Lavery & Joanna Podgoetsky Being a DBA is cool again with SQL 2016 DAT335 A.
SQL Reporting Services Troubleshooting Tips Greg Celentano SQL Saturday Providence.
Diagnosing Performance with Wait Statistics Robert L Davis Principal Database
Copyright Sammamish Software Services All rights reserved. 1 Prog 140  SQL Server Performance Monitoring and Tuning.
Troubleshoot Customer Performance Problems Like a Microsoft Engineer Tim Chapman Senior Field Engineer, Microsoft.
Linkedin: dennisegraham Dennis E Graham Reporting For SQL Health.
Improve query performance with the new SQL Server 2016 query store!! Michelle Gutzait Principal Consultant at
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
CSS Microsoft Korea. Data Collector Management Data Warehouse Performance and Configuration Reports Graphical Showplan Activity Monitor SQL Profiler Dynamic.
SQL Server Internals & Architecture Naomi Williams, SQL DBA LinkedIn
An introduction to Wait Statistics
Benchmarking like a PRO
You Inherited a Database Now What?
SQL Server Baselining, Benchmarking and Workload Analysis
Troubleshooting SQL Server high CPU usage
SQL Server Data Collector From Every Angle
SQL Server Monitoring Overview
Wait Stats and You.
Where to Start, What You Need
Dynamics AX Performance
Troubleshooting SQL Server Basics
SQLSaturday 393- May 16, Redmond, WA
Performance Tuning for Mere Mortals Part II
Peter Shore SQL Saturday Cleveland 2016
Performance Tuning for Mere Mortals Part II
මොඩියුල විශ්ලේෂණය SQL Server Waits. Tables රැසක් එකට එකතු කිරීම.
Targeting Wait Statistics with Extended Events
You Inherited a Database Now What?
Статистика ожиданий или как найти место "где болит"
Jean Joseph DBA/Developer
Jean Joseph DBA\DEVELOPER
Using wait stats to determine why my server is slow
Developing Microsoft SQL Server Databases
The DBA Quit and now you’re it:
Presentation transcript:

#RefreshCache Database Performance Tuning October 9-11, 2011 Tom Powers IT Applications Team Manager Southeast Christian Church Louisville, KY Whats Twitter?

System.Threading.Thread.Sleep( )

Assess the Situation Who is affected? When did it happen? What were you running? How does this compare? Why should I care? Where are my pills?

Look on the Surface First What has changed? –Arena upgrade –Network –Environment –Running Process –Nothing

Then Start Digging Built-in SQL tools –System SProcs and Commands –Activity and System Monitor –SSMS Database Reports –Management Data Warehouse –Dynamic Management Views/Funcs –Extended Events –SQL Profiler and SQL Trace –SQLDiag –Database Engine Tuning Advisor

Dig Faster Third Party Tools –SQLNexus –PAL –Ignite by Confio –Foglight Performance Analysis by Quest

System SProcs and Commands sp_who and sp_who2 sp_WhoIsActive ( sp_lock DBCC SHOW_STATISTICS DBCC SHOWCONTIG DBCC SQLPERF

SSMS Database Reports

Dynamic Management Views/Funcs CLR I/O Database Mirroring Query Notifications Database Replication Execution Service Broker Full-Text Search SQL Operating System Index Transaction

DMVs and DMFs ROCK Im a fan of… –sys.dm_exec_requests –sys.dm_exec_sessions –sys.dm_os_schedulers –sys.dm_os_wait_stats –sys.dm_os_waiting_tasks

Wait Types PAGEIOLATCH _* OLEDB CXPACKET SOS_SCHEDULER_YIELD WRITELOG LCK_M_* BROKER_* LATCH_* LOG_* SOS_* SQL 2005 – 230 SQL 2008 – 475

Prove It

SQL Profiler

Query Optimization Tips And many more…..

Dig Even Deeper Is SQL Server even configured properly? –Microsoft Baseline Configuration Analyzer (MBCA)Microsoft Baseline Configuration Analyzer (MBCA) –Best Practices Analyzer (BPA)Best Practices Analyzer (BPA) What else can I do? –Consult with a DBA –Glenn Berry, Kevin Kline, Brent Ozar, Thomas LaRock –Up the server resources, patch or upgrade SQL server –Blame Shelby