22,716 views
67 67 votes

An index is clustered, if

  1. it is on a set of fields that form a candidate key
  2. it is on a set of fields that include the primary key
  3. the data records of the file are organized in the same order as the data entries of the index
  4. the data records of the file are organized not in the same order as the data entries of the index

5 Answers

Best answer
43 43 votes

Answer is C).

Index can be created using any column or combination of column which need not be unique. So, A, B are not the answers.

Indexed column is used to sort rows of table.Whole data record of file is sorted using index so, C is correct option. (Simple video explains this).

• edited by
37 37 votes

Clustered Index is created on data file whose file recordrds are physically ordered on a non key field which does not have distinct value for each record .

Option A ) Candidate Key

Option B) Primary Key

Option D ) File NOT ordered

Best choice  is Option C

Option C ) Data records are ordered

• edited by
0 0 votes

Just adding up more points:

Option A): Indexing based on Candidate keys can be done using Primary index or Secondary Index given ordered/unordered data records

Option B): Indexing based on primary key also a candidate key so the same logic applies as option A

Option C): Indexing on ordered/organized data records over non key value attribute is mandatory for clustering index

Option D) Indexing on Unordered data records over key/non key attribute is for secondary indexing 

Answer C.

For more on Cluster indexing: https://stackoverflow.com/questions/1251636/what-do-clustered-and-non-clustered-index-actually-mean

 

Answer:
Position:
Show:

Related questions

59 59 votes
7 answers 7 answers
25.5k
25.5k views
go_editor asked Apr 21, 2016
25,531 views
Relation $R$ has eight attributes $\text{ABCDEFGH}$. Fields of $R$ contain only atomic values. $F = \{ CH$ $\rightarrow$ $G, A \rightarrow BC, B \rightarrow CFH, E \right...
64 64 votes
5 answers 5 answers
22.7k
22.7k views
Arjun asked Sep 24, 2014
22,711 views
Relation $R$ has eight attributes $\text{ABCDEFGH}$. Fields of $R$ contain only atomic values. $F = \{ CH$ $\rightarrow$ $G, A \rightarrow BC, B \rightarrow CFH, E \right...
70 70 votes
3 answers 3 answers
22.9k
22.9k views
Arjun asked Sep 24, 2014
22,865 views
Consider the following relational schema.Students(rollno: integer, sname: string)Courses(courseno: integer, cname: string)Registration(rollno: integer, courseno: integer,...
6 6 votes
0 0 answers
1.2k
1.2k views
Surajit Sadhukhan asked Aug 31, 2024
1,214 views
This post was deleted with below mentioned reason.
Delete Reason Name: All previous gate questions are already available in the site. See "Previous Years" tab in the Menu.
Delete Reason Note:
Has Author Submitted Revision Edit?: NOT YET
The submitted edit has been rejected. The post is hidden permanently.
Relation $R$ has eight attributes $ABCDEFGH$. Fields of $R$ contain only atomic values.$F=$ $\{\mathrm{CH} \rightarrow \mathrm{G}, \mathrm{A} \rightarrow \mathrm{BC}, \ma...