proutil db-name -silent -C idxfix
tenant tenant-name group group-name shared recs numrecs -NL -rusage -userid username -password passwd |
Index Fix Utility
1. Scan records for missing index entries with index block validation. 2. Scan indexes for invalid index entries. 3. Both 1 and 2 above. 4. Cross-reference check of multiple indexes for a table. 5. Build indexes from existing indexes. 6. Delete one record and its index entries. 8. Scan records for missing index entries. q. Quit Enter your selection: |
Option
|
Action
|
1
|
Scans the database records for missing or incorrect indexes with index block validation.
|
2
|
Scans the index for corrupt index entries. You can specify whether to scan all indexes or a specific set of indexes.
|
3
|
Checks the index entries, then checks the database entries.
|
4
|
Prompts you for the table and indexes for which you want to run a cross-reference check.For the specified indexes the following processing takes place:
Scan the indexes and each entry in the index.\
For each index entry, fetch the associated record by ROWID and validate that the fields in the record match the fields used to build the index key
After verifying the individual indexes, an index-to-index comparison verifies that the list of ROWIDs generated by one index exist in the other index(es)
|
5
|
Allows you to rebuild multiple indexes based on one known index. At the prompts, enter the following:
At the Table name: prompt, enter the name of the table for the indexes.
At the first Index name: prompt, enter the name of the source index. This is the good index to be used for locating the rows of the table.
At subsequent Index name: prompts, enter the name of index(es) to rebuild.
Enter ! when you finish entering index names.
The utility asks you to verify your entries, and then rebuilds the specified indexes.
|
6
|
Prompts you to specify the RECID of the record you want to delete.
Deletes one record and all its indexes from the database. Use this option when a record has damaged indexes.
Note: You can specify either the area name or area number as the area. If an area is invalid, IDXFIX displays a message declaring the area invalid, then halts the action.
|
8
|
Scans records for missing index entries. This option performs the same scan as option 1, but does not perform the index block validation.
|
q (formerly 7)
|
Ends the PROUTIL Index Fix utility.
|
Select one of the following:
All (a/A) - Fix all the indexes Some (s/S) - Fix only some of the indexes By Area (r/R) - Fix indexes in selected areas By Schema (c/C) - Fix indexes by schema owners By Table (t/T) - Fix indexes in selected tables By Partition (p/P) - Choose indexes in selected table partitions By Activation (v/V) - Fix selected active or inactive indexes ------------------- Multi-Tenancy (m/M) - Choose tenants or groups ------------------- Quit (q/Q) - Quit, do not fix Enter your selection: |
Option
|
Action
|
All
|
Prompts you to verify whether you fix all indexes
|
Some
|
Prompts you for the indexes you want to fix by first entering the table name, and then the index name; if the table name entered is for a partitioned table and the index name is for a partitioned (local) index, IDXFIX then prompts for a partition name. IDXFIX then prompts you to verify the action.
|
By Area
|
Prompts you for the area containing the indexes you want to fix, and then prompts you for the indexes in the area.
|
By Schema
|
Prompts you for the schema owner of the indexes you want to fix, then prompts you for the indexes, then prompts you to verify the action.
|
By Table
|
Prompts you for the table containing the indexes you want to fix, then prompts you for the indexes, then prompts you to verify whether you have enough disk space for index sorting
|
By Partition
|
Prompts you for the table partitions containing the indexes you want to fix, then prompts you for the indexes, then prompts you to verify whether you have enough disk space for sorting
|
By Activation
|
Prompts you to chose active or inactive indexes, then prompts you for the indexes, then prompts you to verify the action.
|
Multi- Tenancy
|
Prompts you to choose tenants or groups, and then prompts you for the specific tenants or groups. This menu option is only available for databases enabled for multi-tenancy when tenant, group, or shared was not specified on the command line.
|
Quit
|
Quits without fixing any indexes.
|