What is a clustering index ?
Answers were Sorted based on User's Feedback
Answer / s
Clustering index determines where the row will be inserted.
| Is This Answer Correct ? | 1 Yes | 0 No |
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 |
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 |
I use CS and update a page. Will the lock be released after I am done with that page?
For update of a row in cursors, when do we move value into host variable in cobol progrm? is it before open or before fetch ?
How do we specify index to include or not during bind process.
What action db2 takes when a program aborts in the middle of a transaction?
What is the physical storage length of the data types: date, time, timestamp in the db2 database?
Explain about cursor stability?
What are delete-connected tables?
How to find the maximum value in a column in the db2 database?
i hav created a program and moved to production but failed to create the table which is been used in the program. the program shows error as soon as it is moved or installed in production or shows error during its runtime. what is the sqlcode for this error
Can we delete records from view?
What does db2 plan contain?
Bind concepts in DB2 cobol
10 Answers IBM, TCS, TRD, Virtusa,