Re: degenerate performance on one server of 3 - Mailing list pgsql-performance

From Erik Aronesty
Subject Re: degenerate performance on one server of 3
Date
Msg-id ccd588d90905312112m491e3ba1h4c61c6e82f7f4f1d@mail.gmail.com
Whole thread Raw
In response to Re: degenerate performance on one server of 3  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: degenerate performance on one server of 3
List pgsql-performance
it was all vacuum full...thanks

the other 2 servers truncate and reload that table from time to time
... IE: they are always vacuumed

as the "master" ... that server never does it... hence the bloat

but why wasn't autovac enough to reclaim at least *most* of the space?
  that table *does* get updated every day... but rows are not
overwritten, just edited.   it seems that most of the pages should be
"reused" via autovac ....



On Sun, May 31, 2009 at 11:40 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Craig Ringer <craig@postnewspapers.com.au> writes:
>> Tom Lane wrote:
>>> I'm betting on varying degrees of table bloat.  Have you tried vacuum
>>> full, cluster, etc?
>
>> Or, if you have been using VACUUM FULL, try REINDEXing the tables,
>> because it could easily be index bloat. Clustering the table will take
>> care of index bloat as well as table bloat.
>
> Index bloat wouldn't explain the slow-seqscan behavior the OP was
> complaining of.  Still, you're right that if the tables are bloated
> then their indexes probably are too ... and that VACUUM FULL alone
> will not fix that.
>
>                        regards, tom lane
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
>

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: degenerate performance on one server of 3
Next
From: S Arvind
Date:
Subject: Vacuuming technique doubt