Index Maintenance, Bloat, and REINDEX in PostgreSQL

Indexes and tables in PostgreSQL are not static. Because of how Postgres handles updates and deletes, both accumulate dead space over time, called bloat, that slows queries and wastes disk.