All Questions
Scaling Reads medium

What is an 'Index Only Scan' (Covering Index) and why is it fast?

  1. A It scans the whole table.
  2. B The index contains all the columns requested by the query, so the database never needs to look up the actual table row (Heap).
  3. C It uses only one CPU core.
  4. D It skips the index.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions