You use this command to recover the specified indexes.
Indexes can become damaged for various reasons. To save time, indexes are not maintained when a database instance is restored and are given the attribute bad. They must be recovered explicitly.
Indexes can be damaged by hardware or software problems. If the database kernel identifies a defect index, the index is marked as bad. It is then no longer available to the optimizer during the strategy determination process.
The database software ignores damaged indexes. For this reason, they cannot cause errors, but do impair the performance of the database instance.
You have the DBM operator authorization AccessSQL.
You have opened an SQL session.
sql_recreateindex <scheme>.<table>.<index>
<scheme> |
Scheme |
<table> |
Table name |
<index> |
Index name or field name |
The system displays an OK message.
In the event of errors, see Reply Format.