In the data structure, an index describes an arrangement of columns used as an index into a table. Indexes are used for the following purposes:
Imagine that the CUSTOMER entity type has a non-identifying attribute called Name, and that no index is defined for Name. Thus, for a procedure that lists customers in alphabetical order by Name, at execution time the DBMS would have to execute these steps:
When an index is defined for Name, the DBMS automatically keeps track of customers in Name sequence, eliminating the need for sorting the records. CA Gen automatically creates an index for each identifier during transformation. In addition, it creates an index for foreign keys implementing relationships.
Each index is associated with exactly one record in a table and may have the properties shown in the following table.
Copyright © 2013 CA.
All rights reserved.
|
|