From: Ed L. <pgsql@bluepolka.net>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-general@postgresql.org
Subject: Re: vacuum error
Date: Tue, 6 Mar 2007 14:19:15 -0700
Message-ID: <200703061419.15855.pgsql@bluepolka.net> (raw)
In-Reply-To: <200703062020.37256.peter_e@gmx.net>
References: <200703061110.08896.pgsql@bluepolka.net>
<200703062020.37256.peter_e@gmx.net>
On Tuesday March 6 2007 12:20 pm, Peter Eisentraut wrote:
> Ed L. wrote:
> > I am seeing the following error in pgsql 8.1.2:
> >
> > ERROR: could not access status of transaction 3229475082
> > DETAIL: could not open file "pg_clog/0C07": No such file or
> > directory
> >
> > What does it mean, and what should I do about it?
>
> 1. Read this thread:
> http://archives.postgresql.org/pgsql-general/2007-02/msg00820.
>php
>
> 2. Upgrade to the latest 8.1.* release.
>
> 3. If that doesn't help, check your system for faulty
> hardware, in particular for bad RAM.
This is a 200gb DB with ~300 transactions/second serving 5 busy
facilities, so downtime comes at a premium. We have some
maintenance downtime planned for 2 weeks from now. I'm trying
to understand if this can wait that long.
It appears the only failure occurs during an autovacuum-initiated
"VACUUM FREEZE" on template0 when it hits the pg_statistics
table. However, that abort appears to be causing autovacuum to
skip all its other duties as it endlessly restarts and fails
again.
Do I care if template0 gets a "VACUUM FREEZE"?
Assuming not, is there a simple way to make autovacuum skip over
template0 so it can tend to the important data in the other
databases?
Is restarting with 8.1.8 a known solution for this problem? Or
is an initdb required to fix it?
If initdb is required, we might as well move to the latest stable
8.2 version. I understand my options to minimize downtime to be
limited to async replication. Other ideas?
BTW, the RAM looks good.
TIA.
Ed
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: pgsql@bluepolka.net, peter_e@gmx.net
Subject: Re: vacuum error
In-Reply-To: <200703061419.15855.pgsql@bluepolka.net>
References: <200703061110.08896.pgsql@bluepolka.net> <200703062020.37256.peter_e@gmx.net> <200703061419.15855.pgsql@bluepolka.net>
* 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