67 67 votes An index is clustered, if it is on a set of fields that form a candidate key it is on a set of fields that include the primary key the data records of the file are organized in the same order as the data entries of the index the data records of the file are organized not in the same order as the data entries of the index Related Questions :GATE CSE 2015 | Set 1 | Question: 24 Databases gatecse-2013 databases indexing normal + – Arjun 22.7k views answer comment Share Follow Print See all 3 Comments 3 3 Comments reply smsubham commented Feb 4, 2020 reply Follow flag Similar question https://gateoverflow.in/8222/gate2015-1-24 5 5 replyShare Krish_Vg commented Jan 23 reply Follow flag Clustering index is applied on a ordered file and can contain duplicate values. Kind of like a group of values in which the values are same for that one index entry and same for another group of same values and so on... 1 1 replyShare panipuri commented Sep 7 reply Follow flag $\text{Clustered Indexing}$Relation is physically sorted on search key, but that search key is not a $key$ of the relationhence forming clusters of same values\[\begin{array}{c|c|c|c}\text{Record} & \text{Student\_ID} & \text{Name} & \text{Age} \\ \hlineR_1 & 101 & A & 18 \\R_2 & 105 & E & 18 \\R_3 & 103 & C & 19 \\R_4 & 107 & G & 19 \\R_5 & 102 & B & 20 \\R_6 & 108 & H & 20 \\R_7 & 104 & D & 21 \\R_8 & 106 & F & 22\end{array}\] \[\begin{array}{c|c}\text{Age (Search Key)} & \text{Pointer} \\ \hline18 & \rightarrow R_1 \\19 & \rightarrow R_3 \\20 & \rightarrow R_5 \\21 & \rightarrow R_7 \\22 & \rightarrow R_8\end{array}\] 0 0 replyShare Please log in or register to add a comment.
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). prashant singh 1 answered May 26, 2015 • edited Jun 22, 2018 by Milicevic3306 prashant singh 1 comment Share Follow See all 2 Comments 2 2 Comments reply CheeseCuBES commented Feb 3, 2021 reply Follow flag I thought clustered indexes have to be unique so why not option A? 0 0 replyShare Yash_Upadhyay commented Dec 18, 2025 reply Follow flag No clustered index only require it to be build on the ordering key of the record which is not the candidate key i.e not unique, it just takes the block pointer to the first block of the repeated values for each distinct value. 0 0 replyShare Please log in or register to add a comment.
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 pC answered Sep 3, 2016 • edited Jan 19, 2018 by Puja Mishra pC comment Share Follow See all 5 Comments 5 5 Comments reply Show 2 previous comments HeadShot commented Dec 23, 2018 i edited by HeadShot Dec 23, 2018 reply Follow flag @pC I think, answer is correct but explanation isnt. What you have explained is the definition of clustering index not clustered index. As per my knowledge clustered index means the index and the data on which index is have the same order so it doesn't matter whether selected attribute is key or non-key . https://gateoverflow.in/8222/gate2015-1-24 ( i might be wrong but you can verify once) 4 4 replyShare amitqy commented Mar 25, 2019 reply Follow flag what does the term cluster signify? 0 0 replyShare shashankrustagi commented Jan 20, 2021 reply Follow flag The correct defination is clustered index is an index which is generally on non key, but if we have a primary key in the table. then automatically we get CLUSTERED UNIQUE index, which is on primary key Arjun sir, this is answer to your query 2 2 replyShare Please log in or register to add a comment.
2 2 votes Answer is CWatch this video: https://www.youtube.com/watch?v=vjrHiaIfOl8 Tushar Rana answered Dec 21, 2025 Tushar Rana comment Share Follow 0 reply Please log in or register to add a comment.
1 1 vote a akshay_123 answered Jul 5, 2025 akshay_123 comment Share Follow 0 reply Please log in or register to add a comment.
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 merohan17 answered Oct 31, 2023 merohan17 comment Share Follow 0 reply Please log in or register to add a comment.