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

Mention some fields that are a part of sqlca.

0 Answers  


Is schema the same as database?

0 Answers  


What is error -818 in db2. where can you find the timestamp of the DBRM and the source code.( precompile puts the timestamp on dbrm and source code correct?)

2 Answers  


we can code COPY DCLGEN or INCLUDE DCLGEN, At which stage of the precompilation , dclgen get expanded if we write 1) copy 2) include one question about dclgen.. Is it mandatory to use declare table in dclgen.. I think no...but it will be used by the precompiler to validate the table name,column name etc.., can one clear my doubt ..is it necessary to include declare table or not?

2 Answers  


Compare a subselect to a join?

1 Answers  






What information is used as input to the bind process?

2 Answers  


what is load and unload in db2

1 Answers   IBM,


What is a data page?

1 Answers  


what is difference between Plan and Package

1 Answers   Syntel,


What are the contents of dclgen?

0 Answers  


What are catalog tables in db2?

0 Answers  


Consider that a package is bound into 2 different collections and the PKLIST option specifies both the collections. If the collection id is not specified in the program while executing the SQL query, then when the DB2 system will search the package list, which collection will it pick up or will it give an error/abend?

1 Answers  


Categories