2000-03-30
-REINDEX { TABLE | DATABASE | INDEX } name [ FORCE ]
+REINDEX { DATABASE | TABLE | INDEX } name [ FORCE ]
- TABLE
+ DATABASE
- Recreate all indexes of a specified table.
+ Recreate all system indexes of a specified database.
+ (User-table indexes are not included.)
- DATABASE
+ TABLE
- Recreate all system indexes of a specified database.
- (User-table indexes are not included.)
+ Recreate all indexes of a specified table.
name
- The name of the specific table/database/index to be reindexed.
+ The name of the specific database/table/index to be reindexed.
Table and index names may be schema-qualified.
started instead, giving it
the command-line options -O and -P (these options allow system table
modifications and prevent use of system indexes, respectively). Then
- issue REINDEX INDEX>, REINDEX TABLE>, or
- REINDEX DATABASE> depending on how much you want to reconstruct.
+ issue REINDEX DATABASE>, REINDEX TABLE>,
+ REINDEX INDEX>, or depending on how much you want to reconstruct.
If in doubt, use REINDEX DATABASE FORCE> to force reconstruction
of all system indexes in the database. Then quit the standalone backend
and restart the postmaster.