kick start! sql server 2016 / 2017 performance …... automatic tuning = automatic plan correction...

16
Kick Start! SQL Server 2016 / 2017 Performance Tips and Tricks PINAL DAVE http://blog.SQLauthority.com

Upload: others

Post on 11-Aug-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

Kick Start! SQL Server 2016 / 2017 Performance Tips and Tricks

PINAL DAVEhttp://blog.SQLauthority.com

Page 2: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

Adaptive Joins / Memory

This is Fast Paced SessionAll scripts are available at - https://go.sqlauthority.com

Page 3: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

http://blog.sqlauthority.com

You NEVERmake the

same mistake twice.

You ALWAYS come up

with a new one.

Page 4: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

Live PlanDemohttps://go.sqlauthority.com

Page 5: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

http://blog.sqlauthority.com

Higher Compatibility Level

+

Latest Cardinality Estimation

=

Better Performance

Page 6: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

Cardinality Estimation vs

Compatibility LevelDemohttps://go.sqlauthority.com

Page 7: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

https://go.sqlauthority.comDownload the Scripts

Page 8: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

http://blog.sqlauthority.com

Automatic Tuning

=

Automatic Plan Correction(SQL Server 2017 & Azure)

+

Automatic Index Management (Azure Only)

Page 9: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

Adaptive Joins / Memory GrantDemohttps://go.sqlauthority.com

Page 10: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

Interleaved ExecutionsDemohttps://go.sqlauthority.com

Page 11: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

Automatic TuningDemohttps://go.sqlauthority.com

Page 12: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

Columnstore Index and In-

In-Memory OLTPDemohttps://go.sqlauthority.com

Page 13: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

SQL Server Performance Demohttps://go.sqlauthority.com

Page 14: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

http://blog.sqlauthority.com

Summary

Let’s fix your SQL Server performance

Page 15: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

http://blog.sqlauthority.com

Questions - Thank You!

SQL Server performance Tuning is Easy

Image Courtesy: Pinal Dave (http://blog.sqlauthority.com)

Page 16: Kick Start! SQL Server 2016 / 2017 Performance …... Automatic Tuning = Automatic Plan Correction (SQL Server 2017 & Azure) + Automatic Index Management (Azure Only)

http://blog.sqlauthority.com

FREE3 Performance Tuning Scripts:

https://go.sqlauthority.com

Talk to me

[email protected]