Without a useful index, the database must scan the table. It reads whole data pages rather than individual rows, so a selective lookup on a large table can require substantial I/O.
SELECT * FROM Orders WHERE order_id = 42;
-- no useful index: the plan is a table scan of the data pages
Sources (2)
- Microsoft Learn — table scans and indexeslearn.microsoft.com
- Microsoft Learn — SQL Server reads and writes at page levellearn.microsoft.com