encyclopegia.org

Full table scan

A full table scan (also known as a sequential scan) is a scan made on a database where each row of the table is read in a sequential (serial) order and the columns encountered are checked for the validity of a condition.[src] Full table scans are usually the slowest method of scanning a table due to the heavy amount of I/O reads required from the disk which consists of multiple seeks as well as costly disk to memory transfers.[src]

A full table scan (also known as a sequential scan) is a scan made on a database where each row of the table is read in a sequential (serial) order and the columns encountered are checked for the validity of a condition.[src] Full table scans are usually the slowest method of scanning a table due to the heavy amount of I/O reads required from the disk which consists of multiple seeks as well as costly disk to memory transfers.[src] SELECT name FROM fruits WHERE color = 'red'; The second example shows a SQL statement which returns the name of all fruits in the fruits table.[src] Because this statement has no condition - no WHERE clause - the database engine will use a table scan to load and return the data for this query even if the fruits table has an index on the name column because accessing - i.e.[src] scanning - the table directly is faster than accessing the table through the extra abstraction layer of an index: SELECT name FROM fruits The third example is a counter-example that will almost certainly cause the SQL engine to use an index instead of a table scan.[src] This example uses almost the same query as the previous one, but adds an ORDER BY clause so that the returned names will be in alphabetical order.[src] Assuming that the fruits table has an index on the name column, the database engine will now use that index to return the names in order because accessing the table through the extra abstraction layer of the index provides the benefit of returning the rows in the requested order.[src] Had the engine loaded the rows using a table scan, it would then have to perform the additional work of sorting the returned rows.[src] In some extreme cases - e.g.[src] the statistics maintained by the database engine indicate that the table contains a very small number of rows - the optimizer may still decide to use a table scan for this type of query: SELECT name FROM fruits ORDER BY name[src]

12 sentences · 12 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Full table scan." encyclopegia.org, 2025, https://encyclopegia.org/wiki/full-table-scan. Accessed 27 November 2026.

Chicago

"Full table scan." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/full-table-scan.

APA

encyclopegia.org. (2025). Full table scan. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/full-table-scan

Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

periodic table

stub · references available

Hitler’s Table Talk

stub · references available

All-time Fußball-Bundesliga table

stub · references available

2012 Summer Paralympics medal table

stub · references available

File Allocation Table

stub · references available

1896 Summer Olympics medal table

stub · references available

1988 Summer Olympics medal table

stub · references available

Scan chain

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1310728147 · 0.5 · snapshot enwiki-001310728147

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.