Top 5 tips for performance tuning using execution plan in SQL Server

Опубликовано: 26 Октябрь 2024
на канале: techsapphire
440
7

Top 5 tips for performance tuning using execution plan

Top 1. Search for Lazy Spool Operator, points to duplicate aggregation operations. This is most expensive operator.

Top 2: Hash match, points to missing index.

Top 3: Non SARGable queries, use of functions or expression in where conditions. Example cast(column as date)='2023-01-01', Left(col,2)='SA', etc

Top 4: Partition Elimination

Top 5: Bad Views

#shorts