Re: tuning auto vacuum for highly active tables

From: Szu-Ching Peckner <speckner(at)activedg(dot)com>
To: Bhella Paramjeet-PFCW67 <PBhella(at)Motorola(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: tuning auto vacuum for highly active tables
Date: 2010-03-23 21:37:56
Message-ID: 4BA934B4.8090208@activedg.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-performance

we ran into the same problem, had big table, played with vacuum cost and
delay, but can't shrink too much because of heavy insert and delete.
we ended up with using slony for upgrade, also have data copy from fresh
because of inital replication to shrink our large table, with minimum
controlled downtime.

Bhella Paramjeet-PFCW67 wrote:
>
> Hi All,
>
>
>
> We have a postgres database in which couple of tables get bloated due
> to heavy inserts and deletes. Auto vacuum is running. My question is
> how can I make auto vacuum more aggressive? I am thinking of enabling
> autovacuum_vacuum_cost_delay and autovacuum_vacuum_cost_limit
> parameters. Can anyone suggest how to calculate the appropriate values
> for these parameters and if there are any side effects of enabling
> these parameters. Any help will be highly appreciated.
>
>
>
> Thanks
>
> Paramjeet Kaur
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2010-03-23 21:41:48 Re: tuning auto vacuum for highly active tables
Previous Message Szu-Ching Peckner 2010-03-23 21:35:45 Re: tuning auto vacuum for highly active tables

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2010-03-23 21:38:01 Re: mysql to postgresql, performance questions
Previous Message Szu-Ching Peckner 2010-03-23 21:35:45 Re: tuning auto vacuum for highly active tables