SQL Data Partners Podcast

Episode 103 Plan Reuse


Listen Later

When we write our queries to the database, SQL Server has to go and figure out the best way to go and bring back the data you asked for. A query plan is created to help SQL Server remember how to get the data for this query. It takes time to make these queries, so the database wants to limit the number of times it has to create the plans so it will try to reuse the plan as much as possible. Our topic for today's episode is query plan reuse and the pros and cons with this concept. We will also touch on the concept of parameter sniffing--a technique SQL Server uses to try and figure out the best values to use for the execution plan with the hopes the plan will help the most queries. Special thanks to James Youkhanis for the suggestion.

The shownotes for today’s episode is found at http://sqldatapartners.com/2017/07/04/episode-103-plan-reuse/ and have fun on the SQL trail.

...more
View all episodesView all episodes
Download on the App Store

SQL Data Partners PodcastBy Carlos L Chacon

  • 4.7
  • 4.7
  • 4.7
  • 4.7
  • 4.7

4.7

26 ratings


More shows like SQL Data Partners Podcast

View all
BiggerPockets Real Estate Podcast by BiggerPockets

BiggerPockets Real Estate Podcast

16,808 Listeners

Up First from NPR by NPR

Up First from NPR

56,071 Listeners

All-In with Chamath, Jason, Sacks & Friedberg by All-In Podcast, LLC

All-In with Chamath, Jason, Sacks & Friedberg

8,736 Listeners