reindexdb -d appdb

Category: Databases & SQL

reindexdb -d appdb

Reindex a database from the shell

reindexdb wraps REINDEX for scripted maintenance, rebuilding indexes that grew bloated after heavy updates or deletes. Plain mode locks writes; --concurrently avoids that but runs slower and can fail midway.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.