top tuning tools for sql server

9
Top Tuning Tools for SQL Server Kevin Kline & Aaron Bertrand SQL Sentry

Upload: shawn

Post on 23-Feb-2016

42 views

Category:

Documents


0 download

DESCRIPTION

Top Tuning Tools for SQL Server. Kevin Kline & Aaron Bertrand SQL Sentry. About Us. Kevin Kline @kekline Director, Engineering Services Microsoft MVP since 2003 Author, SQL in a Nutshell and 11 more http://KevinEKline.com http://SQLSentry.TV. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Top Tuning Tools for SQL Server

Top Tuning Tools for SQL ServerKevin Kline & Aaron Bertrand

SQL Sentry

Page 2: Top Tuning Tools for SQL Server

2© SQLintersection. All rights reserved.

http://www.SQLintersection.com

Aaron Bertrand @AaronBertrand

Senior Consultant

Microsoft MVP since 1997Author, MVP Deep Dives 1 & 2http://sqlblog.com/http://sqlperformance.com/

http://sqlsentry.com/

About Us

Kevin Kline @kekline

Director, Engineering Services

Microsoft MVP since 2003Author, SQL in a Nutshell and 11 morehttp://KevinEKline.comhttp://SQLSentry.TV

Page 3: Top Tuning Tools for SQL Server

3© SQLintersection. All rights reserved.

http://www.SQLintersection.com

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

Page 4: Top Tuning Tools for SQL Server

4© SQLintersection. All rights reserved.

http://www.SQLintersection.com

SQL Sentry Plan Explorer

Plan Explorer download: http://sqlsentry.com/plan-explorer

Many of these demos can be downloaded: http://sqlperformance.com/updated-plan-explorer-demo-kit

PluralSight Course by Jonathan Kehayias: http://bit.ly/PETraining

Page 5: Top Tuning Tools for SQL Server

5© SQLintersection. All rights reserved.

http://www.SQLintersection.com

SQL Sentry Performance Advisor

Best in class performance monitoring and alerting. v8 adds: Intelligent Alerting Custom Conditions Configurable Baselines

Low Overhead: http://downloads.sqlsentry.com/downloads/

SQLSentryOverheadAnalysis.doc

Performance Advisor download: http://sqlsentry.com/download-trial/trial

Demonstration Videos at: http://sqlsentry.tv

Page 6: Top Tuning Tools for SQL Server

6© SQLintersection. All rights reserved.

http://www.SQLintersection.com

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

Page 7: Top Tuning Tools for SQL Server

7© SQLintersection. All rights reserved.

http://www.SQLintersection.com

Bonus Tips : Two Easy Performance Boosts

SET NOCOUNT ON Turns off n row(s) affected / DONE_IN_PROC noise

Non-default cursor options Demo

Page 8: Top Tuning Tools for SQL Server

8© SQLintersection. All rights reserved.

http://www.SQLintersection.com

Bonus Tips : Making “dev” like production

DBCC AUTOPILOT / SET AUTOPILOT ON Create hypothetical indexes in production

Stats-only (“clone”) database http://bit.ly/StatsOnlyDB

DBCC OPTIMIZER_WHATIF Fool SQL Server into believing your dev box is more or less

powerful Demo

Page 9: Top Tuning Tools for SQL Server

9© SQLintersection. All rights reserved.

http://www.SQLintersection.com

THANK YOU!Contact:

[email protected] [email protected]