Answer Posted / mainframe.rahulz
A DB2 index is a clustering index if the CLUSTER keyword is
specified when the index is created.In a clustered index
rows are stored continuously in a an
order.
When you define a clustering index on a DB2 table, you
direct DB2 to insert rows into the table in the order of the
clustering key values. The first index that you define on
the table serves implicitly as the clustering index unless
you explicitly specify CLUSTER when you create or alter
another index. For example, if you first define a unique
index on |the EMPID column of the EMP table, DB2 inserts
rows into the EMP table in the order of the EMPLOYEE ID
unless you explicitly define another index to be the
clustering index
Eg:CREATE INDEX Index name
ON tablename CLUSTER;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain in detail about buffer manager and its functionalities?
What is view db2?
Which component is responsible for db2 startup and shutdown?
What db2 400?
How to take backup of table in db2?
What is db2 bind process?
How does db2 sample database connect?
What is check constraint in db2?
Explain various types of locks in db2?
How do you eliminate duplicate values in db2?
What is commit in db2?
What is the role of the data page in the db2 database?
How to restart a DB2 program?
What is scrollable cursor in db2?
What is dbrm?