Reindexing
When indexes become less efficient due to being spread over disk inefficiently, either scattered around too randomly or too bloated with now unused values, the index will benefit from being rebuilt. This is most easily done with the REINDEX
command, and that can't be done concurrently. More information about detecting when indexes need to be rebuilt and how to do so is in Chapter 7, Routine Maintenance.