Re: tuning auto vacuum for highly active tables

From: Szu-Ching Peckner <speckner(at)activedg(dot)com>
To:
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: tuning auto vacuum for highly active tables
Date: 2010-03-23 21:35:45
Message-ID: 4BA93431.7050509@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 Szu-Ching Peckner 2010-03-23 21:37:56 Re: tuning auto vacuum for highly active tables
Previous Message Bhella Paramjeet-PFCW67 2010-03-23 20:54:37 tuning auto vacuum for highly active tables

Browse pgsql-performance by date

  From Date Subject
Next Message Szu-Ching Peckner 2010-03-23 21:37:56 Re: tuning auto vacuum for highly active tables
Previous Message Eliot Gable 2010-03-23 21:00:23 Performance Tuning Large PL/PGSQL Stored Procedure