From: Tom Lane <tgl@sss.pgh.pa.us>
To: Scott Whitney <swhitney@journyx.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: PG 8.1.4 not clearing pg_clog
Date: Wed, 10 Oct 2007 13:39:35 -0400
Message-ID: <20488.1192037975@sss.pgh.pa.us> (raw)
In-Reply-To: <20071010164600.7FA2B3F2325@mail.int.journyx.com>
References: <20071010164600.7FA2B3F2325@mail.int.journyx.com>
"Scott Whitney" <swhitney@journyx.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, swhitney@journyx.com
Subject: Re: PG 8.1.4 not clearing pg_clog
In-Reply-To: <20488.1192037975@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox