We use check_postgres to monitor our DB. We get this warning:
POSTGRES_BLOAT WARNING:
DB "foo" (db foo) index foo_text_index_id_uniq rows:?
pages:485435 shouldbe:330673 (1.5X) wasted bytes:1267810304 (1 GB)
According to the docs a vacuum should help, but the autovacuum does not help.
What can I do to get rid of the bloat?