Re: vacuumdb in parallel

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: Anj Adu <fotographs(at)gmail(dot)com>, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: vacuumdb in parallel
Date: 2009-10-15 12:24:05
Message-ID: 20091015122405.GA4788@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Simon Riggs escribió:
> On Wed, 2009-10-14 at 13:57 -0300, Alvaro Herrera wrote:
> > Anj Adu escribió:
> >
> > > I have several "daily" tables that get dropped every day..Is there a
> > > wildcard that I can use to tell vacuumdb NOT to vacuum those
> > > tables...
> >
> > No. You need to do "INSERT INTO pg_autovacuum" (or ALTER TABLE/SET in 8.4)
> > just after you've created the table.
>
> This doesn't work with vacuumdb, only with autovacuum.

Ah, that's right. But then I see no reason why autovacuum wouldn't work
for him with this (he doesn't seem to have tried it).

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Simon Riggs 2009-10-15 12:45:19 Re: vacuumdb in parallel
Previous Message Simon Riggs 2009-10-15 11:56:06 Re: vacuumdb in parallel