Re: reindex/vacuum locking/performance?

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Rob Nagler <nagler(at)bivio(dot)biz>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: reindex/vacuum locking/performance?
Date: 2003-10-03 21:59:39
Message-ID: 20031003215939.GA24446@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, Oct 03, 2003 at 15:47:01 -0600,
Rob Nagler <nagler(at)bivio(dot)biz> wrote:
> > vacuum full does require exclusive lock, plain vacuum does not.
>
> I think I need full, because there are updates on the table. As I
> understand it, an update in pg is an insert/delete, so it needs
> to be garbage collected.

Plain vacuum will mark the space used by deleted tuples as reusable.
Most of the time this is good enough and you don't need to run vacuum full.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Dror Matalon 2003-10-03 22:03:58 Re: Speeding up Aggregates
Previous Message Christopher Browne 2003-10-03 21:55:25 Re: count(*) slow on large tables