Full table scan
A query execution strategy reading every row in a table sequentially to find matches, rather than using an index.
A full table scan is often the slowest way to fetch data, especially on large tables, but sometimes necessary or even optimal. The query planner chooses a full scan when no useful index exists, when a high percentage of rows will match (a selective WHERE clause would be waste), or the table is small enough to fit in the buffer pool. As tables grew, database engineers invested in index structures—B-trees, hash indexes, bitmap indexes—to avoid full scans, but full scans remain a fallback and a sign of missing indexes or poor query formulation.
From early ISAM (Indexed Sequential Access Method) days onward, the goal has always been to minimize full scans through better indexing. Modern query planners are sophisticated enough to sometimes choose a full scan over a bad index, but this is rare and usually points to schema or index problems.