Re: AutoVacuum Behaviour Question - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: AutoVacuum Behaviour Question
Date
Msg-id 20070627225213.GD28580@alvh.no-ip.org
Whole thread Raw
In response to Re: AutoVacuum Behaviour Question  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: AutoVacuum Behaviour Question  (Bruce McAlister <bruce.mcalister@blueface.ie>)
List pgsql-general
Alvaro Herrera wrote:

> > How much is the age decremented by on a vacuum run then?
>
> It should be decremented to the vacuum_freeze_min_age.  However, I'm
> running some experiments with your settings and apparently it's not
> working as it should.

Nah, false alarm, it's working as expected for me.  And I see the age of
databases being correctly decreased to the freeze min age (plus however
many transactions it took to do the vacuuming work).  So I'm still at a
loss on why is it failing to advance the datfrozenxid of your database.

Please let me have a look at this query result while connected to that
database:

select relname, relfrozenxid from pg_class where relkind in ('r', 't');

You can change the relname to oid if showing the table names is
problematic for you.

--
Alvaro Herrera                  http://www.amazon.com/gp/registry/5ZYLFMCVHXC
Al principio era UNIX, y UNIX habló y dijo: "Hello world\n".
No dijo "Hello New Jersey\n", ni "Hello USA\n".

pgsql-general by date:

Previous
From: Tomasz Rakowski
Date:
Subject: Re: autovacumm not working ?
Next
From: Alvaro Herrera
Date:
Subject: Re: autovacumm not working ?