You can instruct the database to recreate bad indexes automatically. You can also specify whether you want all bad indexes to be recreated automatically or only unique indexes that prove to be bad.
You can switch this function on or off. The default setting is OFF.
You also use this DBM command to display the status of this function.
If the function is ON, the system recreates bad indexes after having received a respective event from the database kernel.
Note
Make sure that X server is running.
You have the server permissions EvtDispMgm and AccessSQL.
auto_recreate_bad_index <mode>
<mode> :: = ALL | UNIQUE | OFF | SHOW
Option |
Description |
---|---|
<mode> |
Function for automatically recreating bad indexes Possible values are: ALL: Recreate all bad indexes UNIQUE: Recreate unique indexes that prove to be bad OFF: Disable function SHOW: Display function |
OK
[ALL | UNIQUE | OFF | UNKNOWN]
Value |
Description |
---|---|
ALL | UNIQUE | OFF | UNKNOWN |
Output if the SHOW mode is used ALL: The function is on. All bad indexes are automatically recreated. UNIQUE: The function is on. Unique indexes that prove to be bad are automatically recreated. OFF: The function for automatically recreating bad indexes is inactive. UNKNOWN: The system cannot determine the status of the function for automatically recreating bad indexes. |
In the event of errors, see Reply Format.