CS FundamentalsModerateGATE CS · Product placement

A file of 10,000 records is physically ordered on the non-key field dept, which has 500 distinct values. A clustering index on dept has one entry per distinct value pointing to the first block containing it. How many index entries does it have?

  1. A. 1
  2. B. 20
  3. C. 500
  4. D. 10,000

Correct answer: C. 500

A clustering index is sparse with respect to values: one entry per distinct dept value (500), not per record (dense) and not per block.

More DBMS and SQL questions

Exams that ask this topic