Presentation is loading. Please wait.

Presentation is loading. Please wait.

Please Support our Sponsors

Similar presentations


Presentation on theme: "Please Support our Sponsors"— Presentation transcript:

1 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.

2 Don’t forget to silence your phone

3 Monitoring SQL 2016 on premise for performance and stability

4 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

5 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.

6 Look at the Disk latency

7 Demo

8 DbWarden

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

10 Monitoring Tables and indexes
SPQueryPlans ScanStats

11 Demo

12 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’?

13 Timed Out Plans Query is too complex or not enough resources

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

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

16 Demo

17 What Indexes Are You Using
Information gathered from dm_db_index_usage_stats DMV

18 Demo

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

20 Demo

21 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


Download ppt "Please Support our Sponsors"

Similar presentations


Ads by Google