Загрузка...

A Little More About Parameter Sensitive Plan Optimizations In SQL Server 2022

In this video, I revisit a subject that I recorded a video about in the past-specifically, the parameter-sensitive plan optimization introduced in SQL Server 2022. While initially excited by Microsoft's claims of potential improvements, my recent findings and re-recordings have revealed that these enhancements are largely superficial. The core issue remains unresolved; the feature still requires specific conditions to be met for it to work effectively. I delve into a detailed demonstration where I highlight how leaving a single row in a table with an unusual value can trigger this optimization, even when such skewness is not present according to logical expectations. This video also includes new insights from my friend Paul White's Twitter article, which provides deeper understanding of the internal mechanics behind parameter-sensitive plans.

CHAPTERS

00:00:00 - Introduction
00:02:35 - Parameter Sniffing and Its Impact
00:04:58 - The Skewness Threshold Issue
00:07:19 - Microsoft's Response to the Feature
00:09:36 - The Fix or Lack Thereof
00:12:02 - Recap of the Problem and Solution
00:14:37 - Apology and Acknowledgments
00:15:18 - Conclusion and Gym Time

━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 TRAINING & COURSES
━━━━━━━━━━━━━━━━━━━━━━━━━━
Get AI-Ready With Erik
https://training.erikdarling.com/get-ai-ready-with-erik?coupon=AIREADY

SQL Server Performance Engineering Course
https://training.erikdarling.com/sql-server-performance-engineering?coupon=ENGINEERING

Learn T-SQL with Erik
https://training.erikdarling.com/learn-t-sql-with-erik?coupon=ADVANCEDTSQL

Everything Bundle:
https://training.erikdarling.com/?coupon=SPRINGCLEANING

━━━━━━━━━━━━━━━━━━━━━━━━━━
🛠️ CONSULTING & SERVICES
━━━━━━━━━━━━━━━━━━━━━━━━━━
Need SQL Server performance help?
https://training.erikdarling.com/sqlconsulting

━━━━━━━━━━━━━━━━━━━━━━━━━━
💬 CONNECT
━━━━━━━━━━━━━━━━━━━━━━━━━━
Ask questions at Office Hours
https://erikdarling.com/officehours/

Become a channel member
https://www.youtube.com/@ErikDarlingData/join
━━━━━━━━━━━━━━━━━━━━━━━━━━

Видео A Little More About Parameter Sensitive Plan Optimizations In SQL Server 2022 канала Erik Darling (Erik Darling Data)
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять