Re: DB corruption - Mailing list pgsql-performance

From Michael Paquier
Subject Re: DB corruption
Date
Msg-id 20180323080455.GC7070@paquier.xyz
Whole thread Raw
In response to DB corruption  (Akshay Ballarpure <akshay.ballarpure@tcs.com>)
List pgsql-performance
On Fri, Mar 23, 2018 at 01:29:35PM +0530, Akshay Ballarpure wrote:
> I have a query on DB corruption. Is there any way to recover from it
> without losing data ?

Corrupted pages which need to be zeroed in order to recover the rest is
data lost forever, except if you have a backup you can rollback to.
Please see here for some global instructions about how to deal with such
situations:
https://wiki.postgresql.org/wiki/Corruption

First take a deep breath, and take the time to read and understand it.

> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you

This is a public mailing list.
--
Michael

Attachment

pgsql-performance by date:

Previous
From: Akshay Ballarpure
Date:
Subject: DB corruption
Next
From: Peter
Date:
Subject: Should from_collapse be switched off? (queries 10 times faster)