Machine-translated by Google. Questions are authored in English.
Top

Discussion

Queries that do full table scans should be avoided.

  • A.True
  • B.False

Answer: A

Correct answer: True

A full table scan reads every row, so its cost grows with the table rather than with the answer, and on a large table it also displaces useful pages from the buffer. Ordinarily an index should be available and used. The qualification is that a scan is genuinely cheaper when a query touches most of the rows anyway.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.