Top Free Tools for Tuning SQL Statements Kevin Kline & Aaron Bertrand SQL Sentry, Inc.
Please silence cell phones
Explore Everything PASS Has to Offer Free SQL Server and BI Web Events Free 1-day Training Events Regional Event Local User Groups Around the World Free Online Technical Training This is CommunityBusiness Analytics Training Session Recordings PASS Newsletter
Session Evaluations ways to access Go to passsummit.com/evals Download the GuideBook App and search: PASS Summit 2014 Follow the QR code link displayed on session signage throughout the conference venue and in the program guide Submit by 11:59 PM EST Friday Nov. 7 to WIN prizes Your feedback is important and valuable. Evaluation Deadline: 11:59 PM EST, Sunday Nov. 16
About us Aaron Bertrand Senior Consultant Microsoft MVP since 1997 Author, MVP Deep Dives 1 & Kevin Kline Director, Engineering Services Microsoft MVP since 2003 Author, SQL in a Nutshell and 11 more
Agenda Tools for testing Tools for simulating production Tools for query plan analysis Tools for finding performance problems Tools for improving T-SQL
HammerDB SQLIOSIM SQLQueryStress IOMeter tSQLt Distributed Replay Tools for testing
Demo
Stats-only clone DBCC OPTIMIZER_WHATIF -P startup flag QUERYTRACEON query hint Tools for simulating production
Demo
Plan Explorer download: Many of these demos can be downloaded: PluralSight Course by Jonathan Kehayias: Plan Explorer
Demo
Adam Machanic’s sp_whoisactive Brent Ozar’s sp_askBrent, sp_blitz Extended events – Jonathan Kehayias DMVs – Glenn Berry’s diagnostic queries System info: dm_os_performance_counters, dm_os_wait_stats Query info: dm_exec_requests, dm_exec_query_stats Plans: dm_exec_query_plan, dm_exec_plan_attributes Cache/buffer pool: dm_exec_cached_plans, dm_os_buffer_descriptors Index info: dm_db_index_usage_stats, dm_io_virtual_file_stats Tools for finding performance problems
Demo
Cursor options SET NOCOUNT ON Plan caching issues This could be a full day workshop on its own… Tools for improving T-SQL
Demo
Thank you! Questions?
Session Evaluations ways to access Go to passsummit.com/evals Download the GuideBook App and search: PASS Summit 2014 Follow the QR code link displayed on session signage throughout the conference venue and in the program guide Submit by 11:59 PM EST Friday Nov. 7 to WIN prizes Your feedback is important and valuable. Evaluation Deadline: 11:59 PM EST, Sunday Nov. 16