Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 41B719FB56F for ; Tue, 6 Mar 2007 17:19:27 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 67143-02 for ; Tue, 6 Mar 2007 17:19:23 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from alnrmhc15.comcast.net (alnrmhc15.comcast.net [204.127.225.95]) by postgresql.org (Postfix) with ESMTP id 691939FB436 for ; Tue, 6 Mar 2007 17:19:23 -0400 (AST) Received: from [10.1.2.100] (c-75-70-110-235.hsd1.co.comcast.net[75.70.110.235]) by comcast.net (alnrmhc15) with ESMTP id <20070306211922b1500a2uv8e>; Tue, 6 Mar 2007 21:19:22 +0000 From: "Ed L." To: Peter Eisentraut Subject: Re: vacuum error Date: Tue, 6 Mar 2007 14:19:15 -0700 User-Agent: KMail/1.8.1 Cc: pgsql-general@postgresql.org References: <200703061110.08896.pgsql@bluepolka.net> <200703062020.37256.peter_e@gmx.net> In-Reply-To: <200703062020.37256.peter_e@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703061419.15855.pgsql@bluepolka.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.068 tagged_above=0 required=5 tests=AWL, BAYES_50 X-Spam-Level: X-Archive-Number: 200703/350 X-Sequence-Number: 110540 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