age(datfrozenxid)

Started by Rajesh Kumar Mallahalmost 23 years ago2 messagesgeneral
Jump to latest
#1Rajesh Kumar Mallah
mallah@trade-india.com

can anyone please tell what does
SELECT age(datfrozenxid) from pg_database

signify and why it keeps increasing monotonically ?

regds
mallah.

-----------------------------------------
Get your free web based email at trade-india.com.
"India's Leading B2B eMarketplace.!"
http://www.trade-india.com/

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Rajesh Kumar Mallah (#1)
Re: age(datfrozenxid)

<mallah@trade-india.com> writes:

can anyone please tell what does
SELECT age(datfrozenxid) from pg_database
signify and why it keeps increasing monotonically ?

Basically it measures the time since you last vacuumed each database.
See the Admin Guide:
http://www.postgresql.org/docs/view.php?version=7.3&amp;idoc=0&amp;file=routine-vacuuming.html#VACUUM-FOR-WRAPAROUND

regards, tom lane