Analyzing Indexes of a Table with SAPDBA
Use
You can use SAPDBA for Informix to see information about all the indexes of a table, including unique and duplicate indexes.
Prerequisites
Procedure
SAPDBA displays the report.

Sometimes SAPDBA offers to
The entries on the report have the following meaning:
Entry |
Meaning |
table name |
Shows which table the index(es) relate to |
type |
Shows how the index was created:
Two rows can have the same value for the indexed column(s).
Two or more rows can have the same value for the indexed column(s). |
levels |
Shows how many levels the index has, indicating how large the index is |
leaves |
Shows how many leaves the index has, indicating how large the index is |
fill [%] |
Shows approximately how full the index is. Note that duplicate (that is, non-unique) indexes appear with a hyphen in this field, because it would take too long for SAPDBA to derive a fill level. |
Result
You now have a better picture of the storage situation for the indexes of the table in question. For more information if you want to perform a reorganization, see
Reorganizing All Indexes of One Table with SADPBA.
See also:
Informix documentation