What is a clustering index ?

Answers were Sorted based on User's Feedback



What is a clustering index ?..

Answer / s

Clustering index determines where the row will be inserted.

Is This Answer Correct ?    1 Yes 0 No

What is a clustering index ?..

Answer / saeed

clustering index attempts to maintain a particular order of
data, it try to keep newly inserted rows clustered
according to an index and avoid page splits.

Is This Answer Correct ?    1 Yes 0 No

What is a clustering index ?..

Answer / 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

More DB2 Interview Questions

What is a buffer pool?

2 Answers  


What error I will get if my select query gives multiple row while executing a Cobol-DB2 program.How can I solve it without using a cursor.

4 Answers   Cap Gemini, Verizon,


What is ibm db2 used for?

0 Answers  


How to see the structure of db2 table??

4 Answers   IBM,


What are db2 tables?

0 Answers  






i have an employment table whch has salary,dept,name? i want salary b/w 1000 to 5000 can anyone pls say the query for ths ?

8 Answers   Cap Gemini, CGI, EDS, IBM, Satyam, Wipro,


I want to fetch the 10th row of a table which has been changed.How can I do it without going thru all the rows.

5 Answers  


What is cloudant database?

0 Answers  


What is an alias?

3 Answers  


What is a trigger in the db2 database?

0 Answers  


what is REORG? what is the use?

4 Answers  


What are the prerogatives?

0 Answers  


Categories