Re: Autovacuum / full vacuum

From: "Mindaugas" <mind(at)bi(dot)lt>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Autovacuum / full vacuum
Date: 2006-01-18 15:50:49
Message-ID: 034701c61c46$f427df20$f20214ac@bite.lt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> >> Even a database-wide vacuum does not take locks on more than one table.
> >> The table locks are acquired and released one by one, as the operation
> >> proceeds.
>
> > Has that changed recently? I have always seen "vacuumdb" or SQL
> > "VACUUM" (without table specifications) running as one long
> > transaction which doesn't release the locks that it is granted until
> > the end of the transaction.
>
> You sure? It's not supposed to, and watching a database-wide vacuum
> with "select * from pg_locks" doesn't look to me like it ever has locks
> on more than one table (plus the table's indexes and toast table).

Are there some plans to remove vacuum altogether?

Mindaugas

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message mark 2006-01-18 16:50:17 Re: Suspending SELECTs
Previous Message Harry Jackson 2006-01-18 15:41:57 Re: Suspending SELECTs