Re: reindex/vacuum locking/performance? - Mailing list pgsql-performance

From Bruno Wolff III
Subject Re: reindex/vacuum locking/performance?
Date
Msg-id 20031003215939.GA24446@wolff.to
Whole thread Raw
In response to Re: reindex/vacuum locking/performance?  (Rob Nagler <nagler@bivio.biz>)
List pgsql-performance
On Fri, Oct 03, 2003 at 15:47:01 -0600,
  Rob Nagler <nagler@bivio.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.

pgsql-performance by date:

Previous
From: Rob Nagler
Date:
Subject: Re: reindex/vacuum locking/performance?
Next
From: Dror Matalon
Date:
Subject: Re: Speeding up Aggregates