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
Three short marble runs have finished while one marble remains on a longer winding run

How to Find Longest Running Query With Execution Plan – Interview Question of the Week #098

November 20, 2016
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Server, SQL Server Management Studio

How do you find the longest running query with execution plan in SQL Server? Here is a quick DMV query that returns the top 10 along with their plans.

Read More
A lone walker on a hillside stairway beside a full funicular car climbing the same slope

Parameter Sensitive Plans: Reading Query Variants in Query Store

July 27, 2016
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, Query Store, SQL Server, SQL Server 2022

Inspect query variants and dispatcher plans in Query Store, compare skewed parameter values, and read the boundaries selecting each plan.

Read More
A rolled plan secured with a red tie in an open wooden parcel box

How to Send Execution Plan in Email? – Interview Question of the Week #079

July 10, 2016
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Server

After answering over 2000 performance emails, I saw that many users do not know how to send execution plan in email. Here is the easy way to do it.

Read More
A folded paper bridge model sits beside a wooden bridge carrying a loaded cart

Interview Question of the Week #051 – Actual Execution Plan vs. Estimated Execution Plan

December 27, 2015
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Server, SQL Server Management Studio

Do you use the actual or the estimated execution plan? A candidate asked me this in an interview. I always use the actual plan, and here is why.

Read More
SQL SERVER 2016 - Comparing Execution Plans

SQL SERVER 2016 – Comparing Execution Plans

November 28, 2015
Pinal Dave
SQL Performance
Execution Plan, MySQL

A query runs fine in test but slow in production? SQL Server 2016 tools add a way of comparing execution plans so you can find what changed.

Read More
A hand guiding a red shoehorn into the heel of a stiff new leather shoe by a front door.

Plan Guides: Fixing a Query You Cannot Change

October 15, 2015
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, Query Hint, Query Store, SQL Server

Apply plan guides to a parameterized query you cannot edit, validate the guide, confirm plan matching, and compare Query Store hints.

Read More
A waffle iron making identical waffles beside a stack of uneven pancakes

Forced Parameterization: When It Cuts CPU and When It Hurts

April 17, 2015
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL CPU, SQL Performance, SQL Server

Test forced parameterization against ad hoc compile pressure with query_hash counts, compilations per second, CPU, and parameter sensitivity.

Read More
Previous 1 … 21 22 23 24 25 26 27 … 35 Next
  • Books
  • Testimonials
  • Privacy Policy

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