Tag: query tuning

Sort: Date | Title | Views | Comments Sort Descending
View:

SQL Server Query Tuning Best Practices – Part 1

Added by 5 years ago

11.24K Views1 Comments

SQL Server MVPs Aaron Bertrand and Kevin Kline begin their series on query tuning best practices. They go over some tips and tricks for writing queries. First, Kevin spends a little time on how to approach your ...

SQL Server Query Tuning Best Practices – Part 2

Added by 5 years ago

4.88K Views1 Comments

SQL Server MVPs Aaron Bertrand and Kevin Kline continue their series on query tuning best practices. Kevin starts by talking about what you should include in test harnesses for testing your SQL code and how to i...

Specifying the Schema

Added by 4 years ago

3.43K Views1 Comments

Aaron Bertrand and Kevin Kline discuss some of the advantages for specifying the schema when creating, altering and referencing objects. They discuss how specifying a schema can affect performance and how important it is for security. They also use demos to illustrate the importance.

The Dreaded SP_ Prefix

Added by 4 years ago

3.51K Views1 Comments

Aaron Bertrand explains what the SP_ prefix is and discusses the performance issues with using it when you call a stored procedure. He also mentions a blog post he wrote about the SP_ prefix, which can be found at SQLPerformance.com/sp_prefix.

The “Kitchen Sink” Procedure

Added by 4 years ago

7.92K Views0 Comments

Aaron Bertrand discusses the issues of using the “Kitchen Sink” procedure, which is a stored procedure with massive dynamic search parameters. He shows examples of why the procedure is bad and ways to work around it.

Plan Explorer Demo by Paul Randal (SQLskills)

Added by 6 years ago

3.68K Views0 Comments

Paul Randal of SQLskills shows how to analyze what's using space in tempdb, and provides an overview of how to use SQL Sentry Plan Explorer in the investigation. Immerse yourself in SQL Server with the SQLskills...

Execution Plan Self-Destruct

Added by 4 years ago

2.51K Views0 Comments

Kevin Kline discusses how SQL Server wants to reuse execution plans but there are issues that can cause execution plans to never be reused. He also shares some examples of how to fix these issues which will help improve SQL Server performance.

Plan Explorer Demo by Jonathan Kehayias (SQLskills)

Added by 6 years ago

3.89K Views0 Comments

Plan Explorer takes plan analysis to an entirely new level by making it easy to snap to the most expensive operator inside of an execution plan, change the default display to show cumulative costs instead of per...

Queries with IN(…) / OR

Added by 4 years ago

4.51K Views0 Comments

In this Quick Tip, Aaron Bertrand and Kevin Kline discuss queries that use IN(…) vs. queries that use OR. They use a demo to show how the two types of queries are interchangeable and how they both optimize to the exact same plan.

Implicit Conversions

Added by 5 years ago

3.43K Views0 Comments

Kevin Kline goes over implicit conversions in SQL Server. He discusses what an implicit conversion is, traps that people fall into with implicit conversions and gives a demo on avoiding implicit conversions. ...

Transitive Property of Indexes

Added by 4 years ago

2.77K Views0 Comments

In this video, Kevin Kline discusses the transitive property of indexes. He starts out by discussing how the transitive property works in algebra. Then he shares how the transitive property in algebra can be applied to Microsoft SQL Server.

Temporary Structures

Added by 5 years ago

2.43K Views0 Comments

Kevin Kline discusses how the two types of temporary objects behave. He also shares some information on what they are good at and what they are not good at.

Page 1 of 3123