Re: Vacuuming problems on TOAST table - Mailing list pgsql-performance

From Tom Lane
Subject Re: Vacuuming problems on TOAST table
Date
Msg-id 29376.1328730244@sss.pgh.pa.us
Whole thread Raw
In response to Vacuuming problems on TOAST table  (Ofer Israeli <oferi@checkpoint.com>)
Responses Re: Vacuuming problems on TOAST table  (Ofer Israeli <oferi@checkpoint.com>)
List pgsql-performance
Ofer Israeli <oferi@checkpoint.com> writes:
> During our testing we see that the table size increases substantially.  When looking at the autovacuum log, set with
defaultconfiguration, it seems that it ran for around 60 seconds (see below and note that this was a 1-minute test,
i.e.only 100 updates)! 

autovacuum is intended to run fairly slowly, so as to not consume too
much resources.  If you think it's too slow you can adjust the
autovacuum_cost tunables.

> When setting a higher cost for the autovacuum, tried values of 2000, it ran for even longer: ~400 seconds!

That's the wrong direction, no?

            regards, tom lane

pgsql-performance by date:

Previous
From: Ofer Israeli
Date:
Subject: Vacuuming problems on TOAST table
Next
From: Kevin Traster
Date:
Subject: Re: index scan forward vs backward = speed difference of 357X slower!