Re: [HACKERS] Urgent Help Required

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: bricklen <bricklen(at)gmail(dot)com>
Cc: shailesh singh <shaileshjuly(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: [HACKERS] Urgent Help Required
Date: 2013-10-08 15:09:56
Message-ID: 20131008150956.GA31374@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Tue, Oct 08, 2013 at 08:06:50AM -0700, bricklen wrote:
> On Tue, Oct 8, 2013 at 8:03 AM, shailesh singh <shaileshjuly(at)gmail(dot)com>wrote:
>
> > HINT: To avoid a database shutdown, execute a full-database VACUUM in
> > "patnadbold".
> > ERROR: could not access status of transaction 33011
> > DETAIL: could not open file "pg_clog/0000": No such file or directory
> > exit
> >
> >
> > After this i am able to stop /start my db server but i am not able to
> > connect to my databases (it tells to run vacuum full first on patnadbold
> > databases)
> >
>
> The message does *not* say to run "VACUUM FULL", it says to run a
> "full-database VACUUM". Different things.
> Connect to "patnadbold" and issue "VACUUM;" (without double-quotes) as the
> others have suggested.

In case it isn't clear to the original poster, VACUUM FULL will take a
lot longer than a simple VACUUM and probably not really help much.

Just plain VACUUM.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> He who writes carelessly confesses thereby at the very outset that he does
> not attach much importance to his own thoughts.
-- Arthur Schopenhauer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message bricklen 2013-10-08 15:18:00 Re: [HACKERS] Urgent Help Required
Previous Message Adrian Klaver 2013-10-08 15:09:10 Re: Urgent Help Required

Browse pgsql-hackers by date

  From Date Subject
Next Message bricklen 2013-10-08 15:18:00 Re: [HACKERS] Urgent Help Required
Previous Message Adrian Klaver 2013-10-08 15:09:10 Re: Urgent Help Required