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.
Episode 136: Devops with Visual Studio
Episode 135: Seinfeld Episode
Episode 134: CosmosDB
Episode 133: Shrinking Files
Episode 132: What technologists can learn from superheroes
Episode 131: Big Data Solutions in the Cloud
Episode 130: Use Case for PowerShell
Episode 129: Graph Databases
Episode 128: Database Doing DevOps
Episode 127: Developing in the database
Episode 126: SQLSaturday Edition
Episode 125: You must be an engineer
Episode 124: Beyond the runbook; DR Organization
Episode 123: Top 5 things to know when getting admin access
Episode 122: Isolation Levels
Episode 121: What makes a good manager?
Episode 120: SQL Injection
Episode 119: Getting started with GitHub
Episode 118: How has index maintenance changed?
Episode 117: PASS Summit Retrospective
Create your
podcast in
minutes
It is Free
Insight Story: Tech Trends Unpacked
Zero-Shot
Fast Forward by Tomorrow Unlocked: Tech past, tech future
The Unbelivable Truth - Series 1 - 26 including specials and pilot
Acquired