Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Five Mistakes You are Probably Making with SQL Server

Similar presentations


Presentation on theme: "The Five Mistakes You are Probably Making with SQL Server"— Presentation transcript:

1 The Five Mistakes You are Probably Making with SQL Server
Kathi Kellenberger Auntkathisql.com @auntkathi

2 Platinum Level Sponsors
Gold Level Sponsors Venue Sponsor Key Note Sponsor Pre Conference Sponsor

3 Silver Level Sponsors Bronze Level Sponsors

4 Evals!

5 Who am I? Data Platform MVP Trainer Author Consultant

6 Agenda Configuration Maintenance Reusability Index Strategy
SARGability

7 Configuration

8 Configuration Memory Parallelism Ad hoc workloads Database location

9 Maintenance https://ola.hallengren.com/ Easy Knowledge required
Not flexible Better than no maintenance Maintenance Wizard Knowledge required Flexible Available on web Scripts

10 Reusability

11 Reusability Avoid Do Nested views
Scaler and multi-line functions that touch tables Do In-line table valued functions Stored procedures Temp tables

12 Index Strategy

13 Index Strategy Don’t blindly follow DTA or index suggestions
Avoid duplicate / overlapping indexes Remove unneeded indexes Avoid Key Lookups and Index Scans

14 SARGability

15 SARGability Avoid Do Functions on columns Implicit conversions
Query on secondary column Scan Do Rewrite WHERE clause Query on first column Seek

16 Contact Information Kathi Kellenberger Auntkathisql.com @auntkathi


Download ppt "The Five Mistakes You are Probably Making with SQL Server"

Similar presentations


Ads by Google