Entering content frame

Procedure documentation Recreating a Damaged Index Locate the document in its SAP Library structure

Use

You use this command to recover the specified indexes.

Indexes can become damaged for various reasons. So werden Indizes beim Wiederherstellen der Datenbankinstanz nicht gepflegt und mit dem Attribut bad versehen, wenn Sie den speziellen Datenbankparameter AUTO_RECREATE_BAD_INDEXES auf NO gesetzt haben. These 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.

Note

The database software ignores damaged indexes. For this reason, they cannot cause errors, but do impair the performance of the database instance.

Prerequisites

·        You have the server authorization AccessSQL.

·        You have opened a database session (see: Opening a Database Session).

Syntax

sql_recreateindex <scheme>.<table>.<index>

Options

Option

Description

<scheme>

Scheme

<table>

Table name

<index>

Index name or field name

Reply

OK

In the event of errors, see Reply Format.

 

Leaving content frame