Re: [Postgresql 8.2.3] autovacuum starting up even after disabling ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dushyanth <dushyanth(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [Postgresql 8.2.3] autovacuum starting up even after disabling ?
Date: 2008-07-07 14:20:51
Message-ID: 9500.1215440451@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dushyanth <dushyanth(at)gmail(dot)com> writes:
>> Does "show autovacuum" confirm that it's off?

> Yes.

> # show autovacuum;
> autovacuum
> ------------
> off
> (1 row)

Then the only other possibility is that autovacuum is being launched to
prevent XID wraparound. Are there any tables in that database with
particularly old relfrozenxid? Try something like

select relname, age(relfrozenxid) from pg_class
where relkind in ( 'r', 't') order by 2 desc;

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joao Ferreira gmail 2008-07-07 14:28:25 running two instances of pg
Previous Message Lennin Caro 2008-07-07 14:08:24 Re: roll back to 8.1 for PyQt driver work-around