Gouache painting: a small bakery shelf holding three loaves while a long row of empty wooden chairs stretches out of the door and down the lane; the shop door is the one vermilion accent

Cardinality Estimation and Performance: SQL in Sixty Seconds #072

Cardinality estimation and performance depend on each other: the optimizer guesses a row count, and that guess picks the plan and sets the reads. This post tests one query under the old and the new estimator on SQL Server 2025, shows where the new guess wins and where it loses, and explains how to switch estimators with the smallest possible change.

Read More