Re: VACUUM process running for a long time

From: Alan Hodgson <ahodgson(at)reinvent(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: VACUUM process running for a long time
Date: 2010-04-14 18:20:20
Message-ID: 201004141120.20848@hal.medialogik.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday 14 April 2010, Jan Krcmar <honza801(at)gmail(dot)com> wrote:
>
> > You might consider partitioning this table by date, either by day or by
> > week, and instead of deleting old rows, drop entire old partitions
>
> this is not really good workaround...

Actually it's a very good workaround, that a lot of people use for exactly
this purpose. It's a lot less disk I/O than delete+vacuum even when you're
not experiencing bloat.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Mead 2010-04-14 18:20:56 Re: [SOLVED] Error in Trigger function. How to correct?
Previous Message Jan Krcmar 2010-04-14 18:04:51 Re: VACUUM process running for a long time