Home > DeveloperSection > Interviews > What is cluster index?

Posted on    March-28-2011 5:26 AM

 DB2 DB2 
 1 Answer(s)
  1236  View(s)
Rate this:

Amit Singh

Total Post:565

Posted on    March-28-2011 12:00 AM

For a clustered index DB2 maintains rows in the same sequence as the columns in the index for as long as there is free space. DB2 can then process that table in that order efficiently.

Clustered index is unique for any given table and we can have only one clustered index on a table. The leaf level of a clustered index is the actual data and the data is resorted in case of clustered index

Don't want to miss updates? Please click the below button!

Follow MindStick