From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Scott Whitney" <swhitney(at)journyx(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: PG 8.1.4 not clearing pg_clog |
Date: | 2007-10-10 17:39:35 |
Message-ID: | 20488.1192037975@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
"Scott Whitney" <swhitney(at)journyx(dot)com> writes:
> Which I assume to be epoch dates and thusly converted.
This assumption is incorrect, which likely accounts for your confusion.
XID numbers have nothing to do with any external reality, and age()
results even less.
> If "today" is Saturday, a cronjob runs this command runs on each database:
> PGCMD = 'vacuumdb -f -v -z %s'
Seems like you should use the -a option instead of assuming that you
know which databases need to be vacuumed. You haven't shown us a
smoking gun here, but the failure to truncate pg_clog suggests that some
database is getting missed.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bhella Paramjeet-PFCW67 | 2007-10-10 17:43:29 | Postgres database is not logging any messages after the reboot |
Previous Message | Donald Fraser | 2007-10-10 17:22:38 | Timing problem wtih pg_stat_activity |