Intro to SQL Server Performance Tuning By Robert Biddle.

6
Intro to SQL Server Performance Tuning By Robert Biddle

Transcript of Intro to SQL Server Performance Tuning By Robert Biddle.

Page 1: Intro to SQL Server Performance Tuning By Robert Biddle.

Intro to SQL Server Performance TuningBy Robert Biddle

Page 2: Intro to SQL Server Performance Tuning By Robert Biddle.

About Me• Working with SQL Server for over 10 years.• Data Architect for Hilton Grand Vacations• Certified• MCITP Database Administrator• MCITP Database Developer

• Author• http://www.mssqltips.com/sqlserverauthor/133/robert-biddle/

• Contact• Blog: http://robbiddle.wordpress.com• Twitter: @robert_biddle• Email: [email protected]

Page 3: Intro to SQL Server Performance Tuning By Robert Biddle.

Agenda• Locking and Blocking• Detecting Long-running queries• Things to look out for!• Find indexes that are missing• SQL Profiler

Page 4: Intro to SQL Server Performance Tuning By Robert Biddle.

Locking and Blocking• Normal intended behavior• Can be a problem if durations are high

Page 5: Intro to SQL Server Performance Tuning By Robert Biddle.

Demo

Page 6: Intro to SQL Server Performance Tuning By Robert Biddle.

More Reading, Tools, & Contact Info

• Blog: Jonathan Kehayias (performance tuning, extended events, and more)(https://www.sqlskills.com/blogs/jonathan/)

• Ola Hallengren’s Free SQL Server Maintenance Solution (https://ola.hallengren.com)

• sp_WhoIsActive by Adam Machanic (free monitoring script) (http://sqlblog.com/files/default.aspx)

• SQL Server Execution Plans by Grant Fritchey (free e-book) (http://www.red-gate.com/community/books/sql-server-execution-plans-ed-2)

• SQL Sentry Plan Explorer (http://www.sqlsentry.com)

• Contact Info• Blog: http://robbiddle.wordpress.com• Twitter: @robert_biddle• Email: [email protected]