Reindex rebuilds an index using the data stored in the index's table, replacing the old copy of the index. There are several scenarios in which to use Reindex:
- An index has become corrupted, and no longer contains valid data.
- An index has become "bloated", that it is contains many empty or nearly-empty pages.
- You have altered a storage parameter (such as fill factor) for an index, and wish to ensure that the change has taken full effect.
-
An index build with the CONCURRENTLY option failed, leaving an "invalid" index.
Reindex Database
Just simply right-click the database and select Maintain Database -> Reindex Database....Reindex Table
Just simply right-click the table and select Maintain Tables -> Reindex Tables....
Related topics:
Analyze
Vacuum