Re: Setting a table to be ignored by autovacuum

From: Richard Huxton <dev(at)archonet(dot)com>
To: Chris Barnes <compuguruchrisbarnes(at)hotmail(dot)com>
Cc: Postgres General Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Setting a table to be ignored by autovacuum
Date: 2010-02-18 17:37:23
Message-ID: 4B7D7AD3.6080106@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 18/02/10 17:20, Chris Barnes wrote:
>
> I'm trying to have this table ignored by the autovacuum process.
>
> It wasn't created with this in mind, hoping there is still a way?

> alter table schema.table SET (autovacuum_enabled = false);
>
> ERROR: unrecognized parameter "autovacuum_enabled"

Close, but it's classed under storage parameters. You'll want to see the
SQL reference entry for "CREATE TABLE".

You might want to consider just turning the settings down rather than
off completely too.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Josh Kupershmidt 2010-02-18 17:42:52 Re: Setting a table to be ignored by autovacuum
Previous Message Chris Barnes 2010-02-18 17:20:56 Setting a table to be ignored by autovacuum