Re: Big index sizes - Mailing list pgsql-performance

From Tom Lane
Subject Re: Big index sizes
Date
Msg-id 15381.1230651561@sss.pgh.pa.us
Whole thread Raw
In response to Re: Big index sizes  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgsql-performance
Guillaume Lelarge <guillaume@lelarge.info> writes:
> Laszlo Nagy a �crit :
>> We have serveral table where the index size is much bigger than the
>> table size.
>> ...
>> Vacuuming a table does not rebuild the indexes, am I right?

> Neither VACUUM nor VACUUM FULL rebuild the indexes. CLUSTER and REINDEX do.

In fact, VACUUM FULL tends to make indexes *more* bloated not less so.
One fairly likely explanation for how you got into this situation is
overeager use of VACUUM FULL.

            regards, tom lane

pgsql-performance by date:

Previous
From: "Robert Haas"
Date:
Subject: Re: perform 1 check vs exception when unique_violation
Next
From: bricklen
Date:
Subject: Poor plan choice in prepared statement