Oracle Table Index Editor

A primary key (PK) and a foreign key (FK) index are automatically created for each table in your model, based on the primary key and foreign key columns. If you designate columns as an alternate key group (AK) or inversion entry group (IE), the equivalent unique (AK) and non-unique (IE) indexes are also generated.

Use the Oracle Table Index Editor to create alternate key (unique) and inversion entry (non-unique) indexes for tables in your model. After you create an index, you can use the Oracle Table Index Editor to modify its properties, such as the index name, column members, physical properties, and user-defined properties.

Use the Generate as Constraint option so that Forward Engineering generates a constraint based on the information in the selected index. The types of constraints created from indexes are:

Unique Constraint

Prohibits multiple rows from having the same value in the same column or a combination of columns but allows some values to be NULL.

Primary Key Constraint

Combines a NOT NULL constraint and a unique constraint in a single declaration. That is, it prohibits multiple rows from having the same value in the same column or a combination of columns, and prohibits NULL values.

Foreign Key Constraint

Requires the values in one table to match the values in another table.

The following properties are applicable to an Oracle Table object.

Tab

Section

Property

Description

Additional Information

    Table Specifies the table to which the index belongs  
    Show FK Indexes Specifies whether FK indexes are displayed in the navigation grid  
   

Physical Name

Specifies the physical name of the table  
    Owner Specifies the database owner  
    Type Specifies the index type  
    Is Unique Specifies whether unique values are allowed in the index  
    Physical Only Specifies whether the index should only appear in the physical model  
    Generate Specifies whether a SQL statement for the index is generated during forward engineering  
    Generate As Constraint Specifies whether the index is generated as a constraint and the corresponding SQL statement is generated during forward engineering  

Members

 

Column

Specifies the columns of the table that participate in the index

 

 

Sort Order

Specifies the column sort order for indexing  
 

Column/Expression

Specifies the column expression on which the index is based  
Constraint   Constraint Name Specifies the key constraint name  
  Deferrable Specifies whether dependent cursors are invalidated while creating the index  
  Immediate/Deferred Specifies when the dependent cursors are invalidated

Immediate: Indicates that dependent cursors are invalidated immediately

Deferred: Indicates that invalidating the dependent cursors is avoided

  Rely Specifies whether a constraint in the NOVALIDATE mode is considered for query rewrite

Rely: Indicates that the constraint is considered for query rewrite

NoRely: Indicates that the constraint is not considered for query rewrite

  Validate Specifies whether all the new and old data complies with the constraint

Validate: Indicates that all the data complies with the constraint when it is enabled

NoValidate: Indicates that all DML operations on the constrained data comply with the constraint. However, it does not ensure whether existing data complies with the constraint.

  Enabled Specifies whether the constraint is enabled on the index  
  Exception Table Specifies the table that collects the rowids of all rows that violate the constraint  
  Use Index    
Options   Is Unique Specifies that the value of the column (or columns) on which the index is based must be unique  
  Bitmap Specifies whether the index is created with a bitmap for each distinct key  
  Table Alias Specifies a correlation name for the table on which the index is being built  
  Reverse Store Specifies whether the bytes of the index block, excluding the rowid, are stored in a reverse order  
  Online Specifies whether DML operations on the table are allowed during index creation  
  Use Parallel Specifies whether the index creation is parallelized  
  Parallel Specifies the degree of parallelism  
  Compress Type Specifies the compression technique to be used for index compression

No Compress: Indicates the compression is disabled

Prefix: Indicates that repeated occurrence of key column values are eliminated

Advanced Low: Indicates that index is compressed less than the HIGH level, but provides faster access to the index

Advance High: Indicates that index is compressed more than the LOW level, but provides faster access to the index

  Compress Prefix Length Specifies the number of prefix columns to compress Available only when Compress Type is set to Prefix
  Logging Specifies whether index creation is logged in the redo log file

Logging: Indicates that index creation of a database object and the subsequent inserts into the object are logged in the redo log file

No Logging: Indicates that index creation is not logged in the redo log file

File System Like Logging: Indicates whether only metadata changes are logged

  Visible Specifies whether the index is visible to the optimizer  
  No Sort Specifies whether the rows are already stored in the database in ascending order  
  Indexing Specifies whether indexing is full or partial

Applicable only to an index on a partitioned table

Full: Indicates that all partitions in underlying table are included in the index irrespective of their indexing properties

Partial: Indicates that only the partitions in underlying table with the indexing property set to ON are included in the index

  Usable Specifies whether the index is usable

For non-partitioned indexes, indicates whether the index is created in a usable state

For partitioned indexes, indicates whether all index partitions are usable or unusable

  Invalidation Specifies when the dependent cursors are invalidated while index creation

Immediate: Indicates that dependent cursors are invalidated immediately

Deferred: Indicates that invalidating the dependent cursors is avoided

Storage   Name Specifies the physical storage object for the index  
Partition Index Partition Type Index Partition Type Specifies the index partition type

Global: Indicates that index partitioning is user defined and is not equi-partitioned with the underlying table

Local: Indicates that the index is partitioned on the same columns, with the same number of partitions and the same partition bounds as table

Index Global Partition Type Specifies whether the global index is hash-partitioned or range-partitioned  
Index Local Partition Type Specifies whether type of partitioned table on which the index is created  
Partition Columns Columns Specifies the columns that participate in the partition  
Hash Partition Type Hash Partition Type   Available only when Index Global Partition Type is set to Hash
Hash Partition Quantity   Available only when Index Global Partition Type is set to Hash
Compress Type   Available only when Index Global Partition Type is set to Hash
Compress Prefix Length   Available only when Index Global Partition Type is set to Hash and Compress Type is set to Prefix
Tablespaces for Quantity Name    
Partition Elements Name    
Partition Value    
Compress Type    
Compress Prefix Length    
Usable    
Logging    
Members

Lets you specify index members.

Constraint State

Lets you assign constraint state properties.

Physical

Lets you assign physical property options.

Partitions

Lets you select partition type and partition type options.

Where Used

Lets you view where the object is used in the model.

Comment

Lets you enter any comments that you want to associate with the object.

UDP

Lets you enter user-defined property values for the object.

Notes

Lets you view or edit user notes.