Re: server crash, need to restore DB functionality

From: Chander Ganesan <chander(at)otg-nc(dot)com>
To: e t <albunix(at)gmail(dot)com>
Cc: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: server crash, need to restore DB functionality
Date: 2008-05-05 22:18:49
Message-ID: 481F87C9.4070209@otg-nc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

e t wrote:
> All,
>
> thanks for your kind reply.
>
> We are indeed running rhel 2 es, as our application requires such.
>
> I was able to correct this, including permission error, by
>
> 1)getting a right after the crash dump of the DB
> 2)dropping the DB
> 3)re-installing the RPM's via force option
> 4)re-importing the DB
>
> I am not aware of how one re-indexes the table(s)
If you imported from a dump, the indexes will be updated as part of the
import. However, you would probably be well served to run a ANALYZE to
update statistics information. Otherwise the query planner might come
out with sub-optimal plans...

I'm assuming that in the statement above you meant that you removed the
cluster and restored the entire cluster. If you just did the DB, it's
possible that other things might not be so well off....especially since
you don't know the root cause of the problem.

--
Chander Ganesan
Open Technology Group, Inc.
One Copley Parkway, Suite 210
Morrisville, NC 27560
919-463-0999/877-258-8987
http://www.otg-nc.com
Ask me about expert on-site and public enrollment PostgreSQL training delivered worldwide!

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Chander Ganesan 2008-05-05 22:38:36 Re: Restore Database From data folder
Previous Message Phillip Smith 2008-05-05 06:21:53 Re: restore postgres system database 8.1.11