
Estimated Versus Actual Rows: the First Number to Check
One comparison localizes most plan problems. Find the deepest node where the planner's estimate and reality diverge, and stop reading upward.
· 3 min
tag
Articles tagged “execution-plans” on SQLPress — 5 in total.
5 articles

One comparison localizes most plan problems. Find the deepest node where the planner's estimate and reality diverge, and stop reading upward.
· 3 min

A plan is a tree printed upside down. Reading it in execution order instead of top to bottom turns a wall of text into a diagnosis.
· 4 min

A query run five times in a row reports the speed of memory, not of the system. Which layer answered the request is the first thing to establish.
· 3 min

Which variant you ran decides whether the numbers in front of you are the planner's estimate or a measurement, and whether the pages came from cache.
· 4 min

An index the planner ignores is usually a row-estimate problem. The fix starts with what the optimizer expected, not with the index definition.
· 3 min