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 175: Migrating to the Cloud
Episode NULL: Summer Break
Episode 174: Power BI Report Server
Episode 173: New Data Certifications
Episode 172: Power BI Monitoring
Episode 171: SQL Server Encryption
Episode 170: Devops with Power BI
Episode 169: Should you learn to code?
Episode 168: Data Privacy Settings
Episode 167: Azure SQL Data Sync
Episode 166: Custom Visuals
Episode 165: Artificial Intelligence
Episode 164: The DAX Episode
Episode 163: Very Large Databases
Episode 162: Power Query vs DAX
Episode 161: Migrating/Upgrading 8000 databases
Episode 160: Power BI Embedded
Episode 159: Power BI Dataflows
Episode 158: Gateways
Episode 157: Windows Server Core
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