Re: [GENERAL] getting status transaction error - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: [GENERAL] getting status transaction error
Date
Msg-id b42b73150702061155u21def54cu921d7bab6cd6f6df@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] getting status transaction error  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: [GENERAL] getting status transaction error  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
n 2/6/07, Alvaro Herrera <alvherre@commandprompt.com> wrote:
> Merlin Moncure wrote:
>
> > ya, it doesn't seem to match, as this seems to be repeating quite
> > regularly.  interesting that my 'clog' files start at 06B6 and count
> > up. 0207 is way off the charts.
> >
> > a lot of applications are hitting this database, and so far everything
> > seems to be running ok (i found this log msg by accident), but I am
> > now officially very nervous.
>
> I don't think there's much cause for concern here.  If my theory is
> correct, this is an autovacuum bug which was fixed in 8.1.7.
>
> What I'd do is create a 0207 clog file, fill it with 0x55 (which is
> "transactions committed" for all transactions in that interval), and do
> a VACUUM FREEZE on that database.  You'll need to set
> pg_database.datallowconn=true beforehand.
>
> Of course, I'd copy the files somewhere else and experiment on a scratch
> postmaster, running on a different port, just to be sure ...

thats a big help, database is actually fairly huge, so I may have to
just go ahead and do it.   I'm off to a meeting, but I'll check back
when I'm done and assuming nobody else says 'don't do that', I'll try
the fix and post back with the result.

thanks all,
merlin

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [GENERAL] getting status transaction error
Next
From: Alvaro Herrera
Date:
Subject: Re: [GENERAL] getting status transaction error