The Five Mistakes You are Probably Making with SQL Server

Slides:



Advertisements
Similar presentations
10 Things Not To Do With SQL SQLBits 7. Some things you shouldn’t do.
Advertisements

Physical Database Design & Performance. Optimizing for Query Performance For DBs with high retrieval traffic as compared to maintenance traffic, optimizing.
Denny Cherry Manager of Information Systems MVP, MCSA, MCDBA, MCTS, MCITP.
Ashwani Roy Understanding Graphical Execution Plans Level 200.
Connect with life Nauzad Kapadia Quartz Systems
ConfigMgr 2012 SQL Refresher MMS Minnesota 2014 Matthew Teegarden/Steve Thompson.
Azure SQL DW – Elastic Data Analytics in the cloud Josh Sivey | Microsoft TSP #492 | Phoenix.
How to kill SQL Server Performance Håkan Winther.
OM. Platinum Level Sponsors Gold Level Sponsors Pre Conference Sponsor Venue Sponsor Key Note Sponsor.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
Get testing with tSQLt Practical examples and automation Steve Jones SQLServerCentral Red Gate Software.
Mastering Master Data Services Presented By: Jeff Prom BI Data Architect Bridgepoint Education MCTS - Business Intelligence, Admin, Developer.
Carlos Bossy Quanta Intelligence SQL Server MCTS, MCITP BI CBIP, Data Mining Real-time Data Warehouse and Reporting Solutions.
SQL Server Performance Tuning
Chris Index Feng Shui Chris
Parameter Sniffing in SQL Server Stored Procedures
Query Optimization Techniques
Execution Planning for Success
UFC #1433 In-Memory tables 2014 vs 2016
Parameter Sniffing in SQL Server Stored Procedures
Reading execution plans successfully
Window function performance
Please Support Our Sponsors
Reading Execution Plans Successfully
The Top 5 SQL Server Mistakes
Beginner Table Partitioning
Introduction to Execution Plans
Tips for SQL Server Performance and Resiliency
The Ins and Outs of Indexes
The Ins and Outs of Indexes
The Key to the Database Engine
Please support our sponsors
Agenda Database Development – Best Practices Why Performance Matters ?
Kerberos for SSRS made Simple
Query Optimization Techniques
dbatools - PowerShell and SQL Server Working Together
Indexing Fundamentals
Indexes: The Basics Kathi Kellenberger.
The Ins and Outs of Indexes
Reading Execution Plans Successfully
Kerberos for SSRS Made Simple
The 5 Hidden Performance Gems
Please thank our sponsors!
Indexing for Beginners
Transact SQL Performance Tips
Kerberos for SSRS made Simple
Welcome to SQL Saturday Denmark
Indexing For Optimal Performance
Cyndi Johnson Senior Software Engineer at AdvancedMD Killing Cursors.
Please Support our Sponsors
Kathi Kellenberger Kellenberger Consulting LLC
Introduction to Execution Plans
The Ins and Outs of Indexes
Are you following SQL Server Development Best Practices?
CS122B: Projects in Databases and Web Applications Spring 2018
Analyzing Performance Problems Using XEvents, DMVs & Query Store
Cyndi Johnson Senior Software Engineer at AdvancedMD Killing Cursors.
SQL Server Query Design and Optimization Recommendations
CS122B: Projects in Databases and Web Applications Winter 2018
Introduction to Execution Plans
Sourav Mukherjee Are you following SQL Server Development Best Practices? March 30, 2019 Cincinnati.
Query Optimization Techniques
Michelle Haarhues Keeping up with SSMS.
Reading execution plans successfully
T-SQL Basics: Coding for performance
Introduction to Execution Plans
All about Indexes Gail Shaw.
Analyzing Performance Problems Using XEvents, DMVs & Query Store
The Ins and Outs of Indexes
Presentation transcript:

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

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

Silver Level Sponsors Bronze Level Sponsors

Evals! http://www.sqlsaturday.com/492/EventEval.aspx http://www.sqlsaturday.com/492/sessions/sessionevaluation.aspx

Who am I? Data Platform MVP Trainer Author Consultant

Agenda Configuration Maintenance Reusability Index Strategy SARGability

Configuration

Configuration Memory Parallelism Ad hoc workloads Database location

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

Reusability

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

Index Strategy

Index Strategy Don’t blindly follow DTA or index suggestions Avoid duplicate / overlapping indexes Remove unneeded indexes Avoid Key Lookups and Index Scans https://www.sqlskills.com/blogs/jonathan/finding-key-lookups-inside-the-plan-cache/

SARGability

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

Contact Information Kathi Kellenberger Auntkathisql.com @auntkathi Kathi.Kellenberger@linchpinpeople.com http://www.linchpinpeople.com/7stepchecklist