pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Akshay Ballarpure <akshay.ballarpure@tcs.com>
Cc: pgsql-performance@lists.postgresql.org
Subject: Re: DB corruption
Date: Fri, 23 Mar 2018 17:04:55 +0900
Message-ID: <20180323080455.GC7070@paquier.xyz> (raw)
In-Reply-To: <OF94BA8A8F.1EB42658-ON65258259.002B6813-65258259.002BCA1B@tcs.com>
References: <OF94BA8A8F.1EB42658-ON65258259.002B6813-65258259.002BCA1B@tcs.com>

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

Attachments:

  [application/pgp-signature] signature.asc (832B, ../20180323080455.GC7070@paquier.xyz/2-signature.asc)
  download

view thread (3+ messages)  latest in thread

Message-ID: <20180323080455.GC7070@paquier.xyz>
Permalink:  ../20180323080455.GC7070@paquier.xyz/
Also on:    postgresql.org/message-id/20180323080455.GC7070@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: michael@paquier.xyz, akshay.ballarpure@tcs.com, pgsql-performance@lists.postgresql.org
  Subject: Re: DB corruption
  In-Reply-To: <20180323080455.GC7070@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox