Please Support our Sponsors

Slides:



Advertisements
Similar presentations
Tempdb Parasites Jason Hall-Dir. of Client SQL Sentry Blog-jasonhall.blogs.sqlsentry.net.
Advertisements

Denny Cherry Manager of Information Systems MVP, MCSA, MCDBA, MCTS, MCITP.
Distributed Replay Testing With Your Data, Your Way! ca.linkedin.com/in/melodyzacharias.
Execution Plans Detail From Zero to Hero İsmail Adar.
IFS180 Intro. to Data Management Chapter 10 - Unions.
Benchmarking like a PRO
Cleveland SQL Saturday Catch-All or Sometimes Queries
Query Optimization Techniques
Execution Planning for Success
© 2016, Mike Murach & Associates, Inc.
Power Query Tips & Tricks
T-SQL Coding Techniques Are you playing with fire?
Finding more space for your tight environment
Parameter Sniffing in SQL Server Stored Procedures
Reading execution plans successfully
Please Support Our Sponsors
Reading Execution Plans Successfully
Four Rules For Columnstore Query Performance
SQL Server May Let You Do It, But it Doesn’t Mean You Should
Introduction to Execution Plans
Query Execution Expectation-Reality Denis Reznik
Troubleshooting Service Broker
Discover Your Database From The Inside!
The Ins and Outs of Indexes
Marcos Freccia Stop everything! Top T-SQL tricks to a developer
EXEC and sp_executesql An Ad Hoc Rally
The Ins and Outs of Indexes
Getting To Know Your Indexes
Performance Tuning for Mere Mortals Part II
Query Optimization Statistics: The Driving Force Behind Good Performance G. Vern Rabe -
Making PowerShell Useful
Query Optimization Techniques
Indexing Fundamentals
Performance Tuning for Mere Mortals Part II
The Ins and Outs of Indexes
Reading Execution Plans Successfully
Hugo Kornelis Now where does THAT estimate come from? The nuts and bolts of cardinality estimation.
The 5 Hidden Performance Gems
SQL Server Performance Tuning Nowadays
Introduction to Object-Relational Mapping for DBAs
Indexing for Beginners
Transact SQL Performance Tips
The PROCESS of Queries John Deardurff Website: ThatAwesomeTrainer.com
PowerShell & PowerBi Reducing DBAs Context Switching
PowerShell & PowerBi Reducing DBAs Context Switching
PowerShell & PowerBi Reducing DBAs Context Switching
PowerShell & PowerBi Reducing DBAs Context Switching
Welcome to SQL Saturday Denmark
Stretch Database - Historical data storage in SQL Server 2016
Parameter Sniffing: the Good, the Bad, and the Ugly
Four Rules For Columnstore Query Performance
SQL Server Management Studio Tips and Tricks
Introduction to Execution Plans
Parameter Sniffing: the Good,the Bad, and the Ugly
Parameter Sniffing: the Good, the Bad, and the Ugly
SQL Server Reporting Services 2017 on Steroids!!
Power Query Tips & Tricks
Query Tuning Fundamentals
The Ins and Outs of Indexes
T-SQL Tips & Tricks to Make Your Life Easier!
Ridewaan Hanslo ridewaanhanslo
Introduction to Execution Plans
Query Optimization Techniques
The Five Mistakes You are Probably Making with SQL Server
Reading execution plans successfully
Introduction to Execution Plans
Why should I care about SQL, if I have ORM?
All about Indexes Gail Shaw.
The Ins and Outs of Indexes
Presentation transcript:

Please Support our Sponsors SQL Saturday is made possible with the generous support of these sponsors. You can support them by opting-in and visiting them in the sponsor area.

Don’t forget to silence your phone

Monitoring SQL 2016 on premise for performance and stability

Agenda Who is Chris Wood Look at latency Look at your execution plans – what are they telling you What indexes are you using – all of them or just some Clear out ad-hoc and prepared plans Who did I get this information from

Who is Chris Wood I am an Englishman who emigrated to Canada in 1982 I started my DBA career on CA-IDMS in 1989 and in 1997 on SQL 6.5. I have been to 12 PASS SUMMITs (learnt many things over the years that you will see) and two-time SQL Cruiser. EDMPASS Communications Director since chapter start-up. Twitter @ChrisAVWood Email ChrisAVWood@outlook.com

Look at the Disk latency

Demo

DbWarden

Create a monitoring database on the server you want to watch You need somewhere to save all your discovered data

Monitoring Tables and indexes SPQueryPlans ScanStats

Demo

Look at your execution plans They contain the information you need to see what your queries actually do We are looking for ‘bad habits’ and estimated costs What are the ‘bad habits’?

Timed Out Plans Query is too complex or not enough resources

No Join Predicates Trying to join tables without a common column. Most likely using old syntax.

Implicit Conversions Comparing different data types can lead to indexes not being used

Demo

What Indexes Are You Using Information gathered from dm_db_index_usage_stats DMV

Demo

Clear Out ad-hoc and prepared one time plans Optimize for ad hoc workloads doesn’t stop plan bloat

Demo

Who Did I Get This Information From Disk Latency – Glenn Berry Execution plans – Jason Strate and Jared Karney What Indexes Are You Using – Tim Ford Clear Out Ad-Hoc and Prepared Plans – Kimberly Tripp