A query needs 5 rows out of a million. Which access method fits?
What is a query plan?
Most rows of the table qualify for the query. Which method usually wins?
Two tiny tables join. Which method do you expect?
One plan step estimates 50 rows but processes 400,000. What do you conclude?
The step that does the most work of its own is always the one that runs last.
En entourer un : Vrai Faux
Switching a big join from nested loop to hash can help once inputs grow.
En entourer un : Vrai Faux
A slow plan shows a nested loop over a step estimated at 20 rows with 200,000 real rows. What would you change?