4 ms·
> What's the use case where data shrinks ? Parent literally provided one: deleting a column. Another is that it's very easy in PostgreSQL to bloat indexes. Lo
by paulddraper 3y ago
> What's the use case where data shrinks ?
Parent literally provided one: deleting a column.
Another is that it's very easy in PostgreSQL to bloat indexes. Load a bunch of data. Update (or delete) that data and now your index is bloated.
The only resolution is to REINDEX (or VACUUM FULL).
- efxhoy 3y agoThe nice thing about index bloat is REINDEX has a CONCURRENTLY option, no need to block writes.
- paulddraper 3y agoTrue, good point.