SQL Server Performance Tuning: Common Problems, Possible Solutions
GrantFritchey
53 views
13 slides
Oct 08, 2024
Slide 1 of 13
1
2
3
4
5
6
7
8
9
10
11
12
13
About This Presentation
Identifying which queries are running the slowest, or using the most resources is relatively well documented. However, once you identify the query you need to fix, what are you supposed to do next? This session will walk through a bunch of the most common performance problems and how you go about id...
Identifying which queries are running the slowest, or using the most resources is relatively well documented. However, once you identify the query you need to fix, what are you supposed to do next? This session will walk through a bunch of the most common performance problems and how you go about identifying those problems. From there, we'll discuss some possible solutions for those problems as a way to move you more quickly to a more highly performing database.
Size: 13.43 MB
Language: en
Added: Oct 08, 2024
Slides: 13 pages
Slide Content
Common Problems Possible Solutions
Grant Fritchey DevOps Advocate Microsoft Data Platform MVP AWS Community Builder About me @gfritchey [email protected] scarydba.com
Learn common performance problems Understand possible solutions Discover methods of validation Agenda
Unique constraints Foreign keys Check constraints Missing, or Incorrect Constraints
Wide columns Poor selectivity, especially on leading edge Poor or missing clustered index Clustered index updated frequently Columnstore Index Design
Cost Threshold for Parallelism Max Degree of Parallelism Parallelism
Out of date Missing Statistics
Non- sargeable filter Calculation in filter Optimizer hints Nesting views Object ownership Implicit data conversion T-SQL Code
Data skew Out of date statistics Parameter Sniffing
Execution Plans DMVs Extended Events Query Store Mk I Eyeball Validating Solutions
Thanks for attending!
Grant Fritchey DevOps Advocate Microsoft Data Platform MVP AWS Community Builder About me @gfritchey [email protected] scarydba.com
Photo Credits Crash | Arslan | Flickr crash | CSX and a empty semi flat bed. No injuries, | Ruin Raider | Flickr Crash ! | I was quietly looking at a book and moved slightly… | Flickr Crash | kozzmen | Flickr Crashed | Frankfurt 2011 | List_84 | Flickr Car crash | Driver walked away from this. | huggs2 | Flickr D&W Autos - Mechanic At Work 2 | This was taken at a local g… | Flickr