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 10 rows but processes 10,000. What do you conclude?
The costliest plan step is always the one that runs last.
Circle one: True False
Switching a big join from nested loop to hash can help once inputs grow.
Circle one: True False
A slow plan shows a nested loop over a step estimated at 20 rows with 200,000 real rows. What would you change?