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
what is the sqlcode -501
Can there be more than one cursor open for any program?
What os does db2 run on?
What are the bind parameters ibm db2?
What is the physical storage length of timestamp data type?
What is difference between isnull and coalesce?
What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?
How do I add a column in db2?
What is difference between alias and synonym in db2?
Why do chiropractors use drop table?
What is the syntax for seeing the columns and data types of a table in the db2 database?
Can we update view in db2?
What is table space in db2?
Explain the contents that are a part of dclgen.
Which are the db2 tools to protect integrity of the database?