PSP

Parameter Sensitive Plan: SQL Server's Context-Aware Intelligence

2025-10-27 路 2 min

Every execution plan is a decision about how to get from data to a result. For years, SQL Server could cache a plan optimized for an initial parameter value (parameter sniffing) and reuse it even when later values had very different data distributions.

馃挕 What does PSP bring to SQL Server 2022?

Parameter Sensitive Plan (PSP) optimization can maintain multiple plan variants for the same query, tuned for different parameter selectivities. A dispatcher chooses the appropriate variant for the current parameter values.

Query Store and Parameter Sensitive Plan (PSP): Real-World Exercises

2025-10-04 路 2 min

A practical PSP guide: exploring plans for different parameter selectivity ranges, stabilizing them, and diagnosing regressions in Query Store.

Service Broker as Lightweight ETL: Invoice Queue to Fact Table

2025-10-04 路 1 min

Designing asynchronous reporting updates: after an invoice is inserted, a message enters a queue and updates a fact table in the background.

SharePoint 2016: Auditing and Document ID in Practice (On-Premises)

2025-10-04 路 1 min

Step by step: enable auditing for a site collection, configure Document ID, use PowerShell for bulk operations, and verify the results.