Top Tuning Tools for SQL Server Kevin Kline & Aaron Bertrand SQL Sentry
2 © SQLintersection. All rights reserved. Aaron Bertrand Senior Consultant Microsoft MVP since 1997 Author, MVP Deep Dives 1 & About Us Kevin Kline Director, Engineering Services Microsoft MVP since 2003 Author, SQL in a Nutshell and 11 more
3 © SQLintersection. All rights reserved. Agenda SQL Sentry Plan Explorer Free Features PRO Features Hairy Execution Plan contest winners SQL Sentry Performance Advisor Helping automate problem query detection SQL Server 2014 Features Buffer Pool Extension Enhanced Cardinality Estimator Bonus Tips A couple of simple tips to see immediate query benefits
4 © SQLintersection. All rights reserved. SQL Sentry Plan Explorer Plan Explorer download: Many of these demos can be downloaded: PluralSight Course by Jonathan Kehayias:
5 © SQLintersection. All rights reserved. SQL Sentry Performance Advisor Best in class performance monitoring and alerting. v8 adds: Intelligent Alerting Custom Conditions Configurable Baselines Low Overhead: s.doc s.doc Performance Advisor download: Demonstration Videos at:
6 © SQLintersection. All rights reserved. SQL Server 2014 Features Buffer Pool Extensions Extend buffer pool to SSDs to act somewhat like memory Great solution for large databases on servers with SSD but limited RAM Enhanced Cardinality Estimator Much better estimation, leading to better query plans in most cases Demo
7 © SQLintersection. All rights reserved. Bonus Tips : Two Easy Performance Boosts SET NOCOUNT ON Turns off n row(s) affected / DONE_IN_PROC noise Non-default cursor options Demo
8 © SQLintersection. All rights reserved. Bonus Tips : Making dev like production DBCC AUTOPILOT / SET AUTOPILOT ON Create hypothetical indexes in production Stats-only (clone) database DBCC OPTIMIZER_WHATIF Fool SQL Server into believing your dev box is more or less powerful Demo
9 © SQLintersection. All rights reserved. THANK YOU! Contact: