Browse

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

Queries with IN(…) / OR

Added by 3 years ago

3.72K 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.

Specifying the Schema

Added by 3 years ago

2.71K 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 3 years ago

2.83K 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.

Top 10 Administrative Mistakes on SQL Server

Added by 3 years ago

15.55K Views2 Comments

SQL Server MVP Kevin Kline discusses the top 10 administrative mistakes that DBAs make on Microsoft SQL Server. He discusses how most of the mistakes are due to process and business issues instead of issues with technology.

Execution Plan Self-Destruct

Added by 3 years ago

2.03K 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.

To MERGE or not to MERGE

Added by 3 years ago

2.49K Views0 Comments

Aaron Bertrand discusses the issues of using the MERGE statement. He also gives a few ways to avoid using it.

The “Kitchen Sink” Procedure

Added by 3 years ago

6.15K 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.

The SQL Sentry Public House

Added by 4 years ago

6.72K Views1 Comments

SQL Sentry has moved into a new office! Only a few team members had access to the office before the grand unveiling on Friday, December 6th. Check out the reactions when everyone sees the new space for the first time....

A Better Way to Read Execution Plans Part 1

Added by 4 years ago

4.35K Views0 Comments

Kevin goes over how to do basic query tuning. Then he dives into 3 real world query tuning examples that are taken from Answers.SQLPerformance.com. The examples are SSMS vs. Plan Explorer, Massive MERGE, and the Case of the Log Shipping Mystery.

SP_EXECUTESQL vs. EXEC(…)

Added by 4 years ago

3.37K Views0 Comments

Aaron Bertrand goes over the differences between SP_EXECUTESQL and EXEC(...). He also provides a demo to show why he likes one more than the other.

Ad-Hoc Sets

Added by 4 years ago

2.75K Views0 Comments

Aaron Bertrand goes over how to generate Ad-Hoc Sets efficiently. He shows examples of how to generate them using recursive CTEs, system tables and number tables and shows which way has the best performance.

Who is the World’s Fastest DBA?

Added by 4 years ago

13.98K Views6 Comments

Have you ever wondered who is the World’s Fastest DBA? Well now you have a chance! Watch as the SQL Sentry Racing Team takes to the Charlotte Motor Speedway to find out who is truly the World’s Fastest DBA.

Page 4 of 7« First...23456...Last »