public inbox for [email protected]  
help / color / mirror / Atom feed
documention wrong or just not clear?
2+ messages / 2 participants
[nested] [flat]

* documention wrong or just not clear?
@ 2007-03-22 21:15  Robert Treat <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Robert Treat @ 2007-03-22 21:15 UTC (permalink / raw)
  To: pgsql-docs

In http://www.postgresql.org/docs/8.2/static/routine-vacuuming.html it says:

"The age column measures the number of transactions from the cutoff XID to the 
current transaction's XID. Immediately after a VACUUM, age(relfrozenxid) 
should be a little more than the vacuum_freeze_min_age setting that was used 
(more by the number of transactions started since the VACUUM started). "

However my results don't seem to bear that out:

postgres=# show vacuum_freeze_min_age;
vacuum_freeze_min_age
-----------------------
100000000
(1 row)
postgres=# VACUUM ;
VACUUM
postgres=# select min (age(relfrozenxid)) from pg_class where relkind = 'r';
min
--------
253045
(1 row)

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: documention wrong or just not clear?
@ 2007-03-22 21:29  Tom Lane <[email protected]>
  parent: Robert Treat <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2007-03-22 21:29 UTC (permalink / raw)
  To: Robert Treat <[email protected]>; +Cc: pgsql-docs

Robert Treat <[email protected]> writes:
> In http://www.postgresql.org/docs/8.2/static/routine-vacuuming.html it says:
> "The age column measures the number of transactions from the cutoff XID to the 
> current transaction's XID. Immediately after a VACUUM, age(relfrozenxid) 
> should be a little more than the vacuum_freeze_min_age setting that was used 
> (more by the number of transactions started since the VACUUM started). "

> However my results don't seem to bear that out:

I would imagine that your database (or at least some of your tables) are
not yet vacuum_freeze_min_age transactions old.

			regards, tom lane




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-03-22 21:29 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-03-22 21:15 documention wrong or just not clear? Robert Treat <[email protected]>
2007-03-22 21:29 ` Tom Lane <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox