Articles

Page 2 of 10 — showing articles 19 to 36 of 179

More Consistent Execution Plan Timings in SQL Server 2022

Inconsistent Timing

Modern execution plans can contain a mixture of batch mode and row mode operators, with each mode exposing timings in a different way. SQL Server 2022 contains an improvement that is currently hidden behind a trace flag.

The Adaptive Join Threshold

Threshold Problems

How an adaptive join decides to use a batch mode hash join or row mode apply. Includes details of the threshold calculation.

How Parallel Plans Start Up—Part 1

Start 1

The role of the parent task (coordinator) in preparing a plan for parallel execution. Includes initializing each operator and adding hidden profilers to collect runtime performance data such as row count and elapsed time.

SQL Server batch text hash and the sql_handle

Getting a Handle on Batch Text

Describes the structure of a sql_handle and explains how the SQL Server batch text hash component is calculated. Provides T-SQL functions to replicate the calculations.