GATE / CS ARCHIVE

GATE CSE 2008 / QUESTION 16

Classical clustering-index classification

Database Management Systems · Indexing, Storage & Query Processing · Full GATE CSE 2008 paper

GATE 2008, Q16 1 mark · MCQ
Report issue

Indexing, Storage & Query Processing

Question 16, GATE 2008: A clustering index is defined on fields of which type?

(A) Non-key and ordering
(B) Non-key and non-ordering
(C) Key and ordering
(D) Key and non-ordering
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. An ordering field determines the physical ordering of the data file.
2. If that field is non-key, multiple records can share a value and form a contiguous cluster, indexed by a clustering-index entry.
3. This classical classification gives A. An ordering key instead gives a primary index; a non-ordering field gives a secondary index. Modern clustered-index terminology can be broader.

Original paper, page 4