Tag: query tuning
5.21K Views0 Comments0 Likes
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.
3.43K Views0 Comments0 Likes
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.
42.80K Views0 Comments0 Likes
In this video, renowned query tuning expert and Microsoft Data Platform MVP Aaron Bertrand looks at the brand new release of SQL Sentry Plan Explorer, the industry's most popular free query tuning tool.
4.01K Views0 Comments0 Likes
Aaron Bertrand discusses one of his favorite topics, comma-delimited parameters. He shows the different ways you can split strings and which ways are the best.
2.63K Views0 Comments0 Likes
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.
9.28K Views0 Comments0 Likes
In this video, Scott Fallen shares tips on how to get started with execution plans. He discusses what an execution plan is and why they are important. He also walks through a couple of sample plans.
3.58K Views0 Comments0 Likes
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. ...
4.15K Views0 Comments0 Likes
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...
3.87K Views0 Comments0 Likes
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...
4.70K Views0 Comments0 Likes
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.
3.63K Views0 Comments0 Likes
It's 18:00 o'clock on Friday. You execute a process that usually takes a few minutes and start packing in order to start the weekend. You are already with your bag on your back, but the process doesn't finish. You sta...
3.57K Views1 Comments0 Likes
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.