This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
An execution plan showing SELECT, Top and Index Scan, all carrying 17 rows with no warnings, beside a properties panel where Estimated Rows Read says 25 and Actual Rows Read says 5,000,000

AI Execution Plan Analysis: I Gave It My Plan and Asked What Was Wrong

September 16, 2026
Pinal Dave
SQL Performance
Parameter Sniffing, Recompile, SQL Statistics

I handed AI a plan with no warnings and healthy numbers, yet it read five million rows to return seventeen. That is the real test of AI execution plan analysis.

Read More
Parameter Sensitive

Parameter Sensitive Plan optimization in SQL Server 2022 – SQL in Sixty Seconds #200

May 16, 2023
Pinal Dave
SQL Video
Execution Plan, Parameter Sniffing, SQL in Sixty Seconds, SQL Performance

SQL Server 2022 introduces Parameter Sensitive Plan Optimization (PSPO), a feature that revolutionizes the performance of parameterized queries.

Read More
Parameter-Sensitive

SQL SERVER 2022 – Parameter Sensitive Plan Optimization (PSPO)

May 15, 2023
Pinal Dave
SQL Performance
Parameter Sniffing, SQL Performance, SQL Server 2022

SQL Server 2022 introduces an exciting new feature called Parameter Sensitive Plan Optimization (PSPO), which aims to improve the performance.

Read More
A specialized jig and a generic guide are compared against differently shaped workpieces.

SQL SERVER – Parameter Sniffing and Bad Plan

August 5, 2021
Pinal Dave
SQL Performance
Parameter Sniffing, Query Hint, SQL Scripts, SQL Server

Disabling parameter sniffing does not guarantee that a bad plan becomes good. That remains my answer to the customer question.

Read More
multiple param

SQL SERVER – Multiple Optimize Hint for a Query

November 6, 2020
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, Query Hint, SQL Scripts, SQL Server

An interesting question asked by one of my clients. The question was how to have multiple optimize hints for a query. Let us learn.

Read More
A workshop bench holds materials and a small chair being worked on temporarily

What is Stored in TempDB? – Interview Question of the Week #271

April 5, 2020
Pinal Dave
SQL Interview Questions and Answers
Parameter Sniffing, SQL Scripts, SQL TempDB

Question: What is Stored in TempDB?
Answer: In my recent conversation my client asked me if I know what is currently stored in their TempDb.

Read More
disableparametersniffing

SQL SERVER – Disable Parameter Sniffing with DISABLE_PARAMETER_SNIFFING Query Hint

February 12, 2020
Pinal Dave
SQL Performance
Parameter Sniffing, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Stored Procedure

Recently during the Health Check, I had a great conversation about how to disable Parameter Sniffing and DISABLE_PARAMETER_SNIFFING Query Hint.

Read More
1 2 3 4 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com