reindexdb
MaintenanceRebuild PostgreSQL database indexes
Options & Flags
Available options for this command
-aReindex all databases
-tReindex specific table
-iReindex specific index
Examples
Common usage examples
Reindex all indexes in database
reindexdb mydbReindex only users table
reindexdb -t users mydbNotes
- Useful after bulk operations
- Can improve query performance
Related Commands
You might also find these useful