Re: Health checks after machine crash? - Mailing list pgsql-admin

From Jerry Sievers
Subject Re: Health checks after machine crash?
Date
Msg-id 87y3hd4xfc.fsf@jsievers.enova.com
Whole thread Raw
In response to Health checks after machine crash?  (Ron <ronljohnsonjr@gmail.com>)
Responses Re: Health checks after machine crash?  (Ron <ronljohnsonjr@gmail.com>)
List pgsql-admin
Ron <ronljohnsonjr@gmail.com> writes:

> Hi,
>
> v8.4 (Yes, it's archaic.  Upgrade plan is in progress.)

Please do!  :-)

> What queries should I run against the catalog tables to see whether or
> not the cluster is healthy after reboot?

Is the cluster confi'd to be at risk of corruption after crash.. such as
full_page_write=off, fsync=off?

Do your logs show any obvious sign of corruption, bad blocks etc?

You may have little to worry about since Pg is very crash tolerant even
old versions 8.4 and prior.

I'd try vacuum and analyze whole cluster plus dumpall >/dev/null and
check for errors there too.  Any sort of corruption likely to cause
application problems likely to show up in so doing.

HTH

> Thanks

--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net
p: 312.241.7800


pgsql-admin by date:

Previous
From: Ron
Date:
Subject: Health checks after machine crash?
Next
From: Ron
Date:
Subject: Re: Health checks after machine crash?