PSP optimization

SQLServerCentral Article

Exploring Parameter Sensitive Plan Optimization in SQL Server 2022

  • Article

PSPO (Parameter Sensitive Plan Optimization) is a SQL Server feature that improves query performance by accepting varied data sizes based on the runtime parameter value(s) specified by the customer. It deals with the situation in which a single cached plan for a parameterized query isn't the best option for all potential incoming parameter values. Non-uniform data distributions exhibit this phenomenon. When using PSPO, SQL Server keeps several execution plans for a single query, each one customized for a particular parameter value. With the help of this feature, numerous execution plans for a parameterized query are generated, each of which is tailored for a certain range of parameter values.

You rated this post out of 5. Change rating

2023-07-21

3,270 reads

Blogs

Online Recording: Exploring PostgreSQL for SQL Server Developers and DBAs

By

On January 9 I have done an online presentation about Exploring PostgreSQL for the...

Setting up a Local LLM

By

I wanted to experiment a bit with an LLM and training it, so I...

How to Learn SQL Without Quitting Your Day Job

By

Juggling meetings, deadlines, and family? Yeah, learning SQL might seem like climbing Mount Everest...

Read the latest Blogs

Forums

Influencing a Local AI

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Influencing a Local AI

Data API Builder Operations

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Data API Builder Operations

SQL Clustered Resource in online pending for about 3-5 mins before coming online

By PJ_SQL

Hello! SQL Clustered resource used to come online during manual or automatic failover in...

Visit the forum

Question of the Day

Data API Builder Operations

What types of database operations does the Data API Builder support?

See possible answers