Amit Banerjee Sr. Program Manager Microsoft Data Platform Group Slow Query: Bring It On Amit Banerjee Sr. Program Manager Microsoft Data Platform Group
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.
C:\Users\> whoami Known on Twitter as @banerjeeamit An affair with SQL Server for nearly a decade Was part of SQL Escalation Services and Premier Field Engineering team at Microsoft Now a Sr. Program Manager on the Microsoft SQL Server (TIGER) product team focusing on HADR and Replication Speaker at SQL PASS, TechEd, Virtual TechDays, User Groups, SQL Saturdays Dabble around with supportability tools and have contributed to SQL Backup Simulator, SQLDIAG/PSSDIAG Manager and SQL Nexus Co-authored “Professional SQL Server 2012: Internals and Troubleshooting” Own TroubleshootingSQL.com Also found at http://aka.ms/sqlserverteam or @mssqltiger C:\Users\> whoami Known on Twitter as @banerjeeamit
SLOW QUERY
Agenda Query Store Live Query Statistics Plan Comparison
Data Insights Conversation 11/13/2018 VISUALIZE + DECIDE Mobile Reports Natural language query Dashboards Applications Streaming CAPTURE + MANAGE Relational Internal & external Non-relational NoSQL { } TRANSFORM + ANALYZE Orchestration Machine learning Modeling Information management Complex event processing Data TRANSFORM + ANALYZE VISUALIZE + DECIDE CAPTURE + MANAGE The Microsoft data platform © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Query Store: When performance is not good… Database is not working Web site is down Impossible to predict / root cause Temporary perf. issues Regression caused by new bits DB upgraded Plan choice change can cause these problems
With Query Store you CAN… Long-term/strategic Find and fix plan regressions Identify top resource consumers De-risk SQL Server upgrade Deeply analyze workload patterns Short-term/tactical
Live Query Statistics
Plan Comparison
Demonstration
QUESTIONS
Resources Live Query Statistics Query Store Plan Comparison Tool http://aka.ms/sqlserverteam or @mssqltiger Known on Twitter as @banerjeeamit
Like What You’ve Heard? Preconference Session: How to be a Ninja: Troubleshooting SQL performance on Azure Virtual Machines
Thank You This FREE SQL Saturday is brought to you courtesy of these sponsors, speakers and volunteers who staff this event