Presentation is loading. Please wait.

Presentation is loading. Please wait.

Rob Farley, LobsterPot Solutions

Similar presentations


Presentation on theme: "Rob Farley, LobsterPot Solutions"— Presentation transcript:

1

2 Rob Farley, LobsterPot Solutions
Microsoft Ignite 2015 11/23/2018 9:58 PM Using Live Query Statistics to see the inner workings of your queries in SQL 2014 and 2016 Rob Farley, LobsterPot Solutions DAT442 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 About Rob Farley LobsterPot Solutions – Gold Partner
Microsoft Certified Master Microsoft MVP Microsoft Certified Trainer APS/PDW Trainer Author: Professional SQL Server 2012 Internals & Troubleshooting

4 What is LQS? Well let me show you… The Query Plan builds
as the query runs

5 How? sys.dm_exec_query_profiles …available in SQL 2014 SP1
SET STATISTICS PROFILE ON SSMS 2016 then polls the DMV

6 What can we learn? All kinds of things! Blocking operators Join types
Spools Learn how your query actually runs!

7 What about short-running queries?
Use a strobe-like method! Loop over the query Poll the DMV Figure out what the results mean LQS is not just for long-running queries But don’t use it at all in production – only in dev/test

8 Complete your session evaluation on My Ignite for your chance to win one of many daily prizes.

9 Continue your Ignite learning path
Microsoft Ignite 2015 11/23/2018 9:58 PM Continue your Ignite learning path Visit Microsoft Virtual Academy for free online training visit Visit Channel 9 to access a wide range of Microsoft training and event recordings Head to the TechNet Eval Centre to download trials of the latest Microsoft products © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10


Download ppt "Rob Farley, LobsterPot Solutions"

Similar presentations


Ads by Google